Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.355/1.355, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009462/0.0009464, allocations: 173.5 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.895/1.895, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009276/0.0009273, allocations: 94.94 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003485, allocations: 13.84 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2518, allocations: 105.4 MB / 0.8962 GB, free: 68.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002101/0.254, allocations: 1.282 MB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.2556, allocations: 0.831 MB / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.318e-05/0.2557, allocations: 0 / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.528e-05/0.2557, allocations: 7.922 kB / 0.8983 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001284/0.2559, allocations: 15.86 kB / 0.8983 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006233/0.2565, allocations: 107.8 kB / 0.8984 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.2567, allocations: 95.64 kB / 0.8985 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.648e-05/0.2568, allocations: 15.98 kB / 0.8985 GB, free: 65.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.2569, allocations: 39.89 kB / 0.8985 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.35e-05/0.257, allocations: 43.78 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.257, allocations: 4 kB / 0.8986 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.2573, allocations: 87.84 kB / 0.8987 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.046e-05/0.2573, allocations: 23.89 kB / 0.8987 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.581e-05/0.2574, allocations: 39.8 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.2576, allocations: 147.6 kB / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2577, allocations: 0 / 0.8989 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.2577, allocations: 4 kB / 0.8989 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.277e-05/0.2577, allocations: 0 / 0.8989 GB, free: 65.32 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007477/0.2584, allocations: 492.3 kB / 0.8993 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.2585, allocations: 8.031 kB / 0.8993 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.2585, allocations: 42.67 kB / 0.8994 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.2586, allocations: 16.75 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2587, allocations: 180.2 kB / 0.8996 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.2588, allocations: 8.375 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.2588, allocations: 4.375 kB / 0.8996 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.259, allocations: 85.75 kB / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.259, allocations: 0 / 0.8997 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.259, allocations: 11.88 kB / 0.8997 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2591, allocations: 4 kB / 0.8997 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.2592, allocations: 51.97 kB / 0.8997 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.2598, allocations: 336.6 kB / 0.9 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.26, allocations: 90.64 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.2601, allocations: 40.84 kB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.2601, allocations: 3.984 kB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002212/0.2603, allocations: 103.3 kB / 0.9003 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.2603, allocations: 0 / 0.9003 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0003809/0.2607, allocations: 181.5 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.2608, allocations: 63.33 kB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.2609, allocations: 144.1 kB / 0.9006 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.2609, allocations: 33.7 kB / 0.9007 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.2609, allocations: 96.12 kB / 0.9008 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.261, allocations: 23.66 kB / 0.9008 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/0.261, allocations: 25.7 kB / 0.9008 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.66e-05/0.2611, allocations: 330.8 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.765e-05/0.2611, allocations: 23.98 kB / 0.9012 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.2612, allocations: 69.98 kB / 0.9012 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.2614, allocations: 113 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2614, allocations: 0 / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002017/0.2616, allocations: 145.4 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2616, allocations: 7.984 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2616, allocations: 4 kB / 0.9015 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2616, allocations: 4 kB / 0.9015 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.2618, allocations: 19.98 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.2618, allocations: 4 kB / 0.9015 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.032e-05/0.2619, allocations: 15.89 kB / 0.9015 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.2619, allocations: 8.094 kB / 0.9015 GB, free: 62.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.112e-05/0.262, allocations: 135.1 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.262, allocations: 7.906 kB / 0.9017 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003092/0.2623, allocations: 176 kB / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2623, allocations: 0 / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2623, allocations: 0 / 0.9018 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.2623, allocations: 8 kB / 0.9018 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.2628, allocations: 466.2 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2629, allocations: 0 / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.357e-05/0.2629, allocations: 19.92 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.263, allocations: 4 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.263, allocations: 7.984 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.263, allocations: 3.938 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.263, allocations: 3.938 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.2633, allocations: 250.3 kB / 0.9026 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.2633, allocations: 92.86 kB / 0.9026 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.2634, allocations: 8 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2635, allocations: 15.92 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.749e-05/0.2635, allocations: 11.98 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.2636, allocations: 7.984 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.62e-05/0.2636, allocations: 105.3 kB / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2636, allocations: 0 / 0.9028 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003139/0.2639, allocations: 51.92 kB / 0.9028 GB, free: 60.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007269/0.2647, allocations: 0.8423 MB / 0.9037 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.2649, allocations: 101.6 kB / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2649, allocations: 0 / 0.9038 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.265, allocations: 63.91 kB / 0.9038 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.2654, allocations: 19.92 kB / 0.9038 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.2669, allocations: 1.705 MB / 0.9055 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.267, allocations: 0.7041 MB / 0.9062 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.717e-05/0.2671, allocations: 4.562 kB / 0.9062 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.2672, allocations: 39.41 kB / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/0.2672, allocations: 0 / 0.9062 GB, free: 57.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08641/0.3536, allocations: 3.094 MB / 0.9093 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.3538, allocations: 264.5 kB / 0.9095 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.126, allocations: 0 / 0.9095 GB, free: 53.96 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1)