Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.639/1.639, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001123, allocations: 176.8 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.668/1.668, allocations: 205.3 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008394/0.0008391, allocations: 90.25 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.581e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6773, allocations: 115.3 MB / 0.9645 GB, free: 78.94 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1921/0.8695, allocations: 139.5 MB / 1.101 GB, free: 216 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/0.8698, allocations: 81.5 kB / 1.101 GB, free: 136 kB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009652/0.8795, allocations: 3.143 MB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8795, allocations: 0 / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8795, allocations: 0.5938 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005922/0.8801, allocations: 460 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.8802, allocations: 8.031 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.8802, allocations: 13.06 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002016/0.8804, allocations: 180.7 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.8805, allocations: 6.156 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.8805, allocations: 7.984 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.714e-05/0.8806, allocations: 27.09 kB / 1.105 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.8807, allocations: 65.66 kB / 1.105 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.8807, allocations: 3.938 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8808, allocations: 0.9688 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.8808, allocations: 0 / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.8814, allocations: 308.1 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.8815, allocations: 59.19 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.8815, allocations: 30.77 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.8816, allocations: 0 / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001506/0.8817, allocations: 83.41 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.685e-06/0.8817, allocations: 4 kB / 1.105 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0002612/0.882, allocations: 109.4 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.8821, allocations: 61.84 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.8821, allocations: 113 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.8822, allocations: 25.7 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.8822, allocations: 92.28 kB / 1.105 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.8823, allocations: 23.94 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.8823, allocations: 0 / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.8824, allocations: 326.8 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.023e-05/0.8824, allocations: 23.56 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.8825, allocations: 58.52 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.665e-05/0.8826, allocations: 27.98 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8826, allocations: 0 / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00017/0.8827, allocations: 109.4 kB / 1.106 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.8828, allocations: 8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8828, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.8828, allocations: 4 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.8829, allocations: 15.92 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.8829, allocations: 7.984 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.675e-05/0.883, allocations: 12.12 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.8831, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 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 ($PRE.lig.curSeed,lig.curSeed,$PRE.lig.on,lig.on,$whenCondition3,$whenCondition2,lig.sampleTrigger,$whenCondition1,lig.occ,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.042e-05/0.8832, allocations: 113.4 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000179/0.8833, allocations: 109.5 kB / 1.106 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.8834, allocations: 7.906 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.8836, allocations: 134.1 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.8836, allocations: 8.031 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8836, allocations: 7.984 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8836, allocations: 0 / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.8841, allocations: 375 kB / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8841, allocations: 0 / 1.107 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-05/0.8842, allocations: 15.92 kB / 1.107 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.8842, allocations: 4 kB / 1.107 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.8842, allocations: 9.625 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.8842, allocations: 3.938 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8842, allocations: 3.953 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.8845, allocations: 203.4 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.395e-05/0.8845, allocations: 85.02 kB / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.8846, allocations: 0 / 1.107 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.8847, allocations: 11.98 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.8847, allocations: 11.98 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.8847, allocations: 7.953 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.466e-05/0.8848, allocations: 102.7 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8848, allocations: 0 / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003312/0.8851, allocations: 47.94 kB / 1.107 GB, free: 9.281 MB / 0.7136 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 (lig.occ,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007565/0.8859, allocations: 0.8226 MB / 1.108 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.8861, allocations: 67.88 kB / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.8861, allocations: 0 / 1.108 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.8862, allocations: 43.92 kB / 1.108 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.8864, allocations: 8.766 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.8869, allocations: 176.3 kB / 1.108 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.8872, allocations: 0.7009 MB / 1.109 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.8872, allocations: 4.625 kB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.039e-05/0.8873, allocations: 35.42 kB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8873, allocations: 0 / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.9105, allocations: 2.592 MB / 1.112 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/0.9109, allocations: 188.3 kB / 1.112 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.548/2.458, allocations: 0 / 1.112 GB, free: 4.645 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)