Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",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.779/1.779, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.001068/0.001068, allocations: 180.9 kB / 361.4 MB, free: 6.805 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.593/1.593, allocations: 205.3 MB / 0.62 GB, free: 11.64 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.0007767/0.0007769, allocations: 94.36 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.175e-05/2.178e-05, allocations: 0 / 0.8518 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6676/0.6676, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.8686, allocations: 139.5 MB / 1.101 GB, free: 216 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.8689, allocations: 82 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.009969/0.8789, allocations: 3.141 MB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8789, allocations: 0 / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.8789, allocations: 0 / 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.000723/0.8797, allocations: 467.9 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.8797, allocations: 9.625 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.338e-05/0.8798, allocations: 16.92 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.88, allocations: 168 kB / 1.104 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.88, allocations: 4 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.8801, allocations: 5.688 kB / 1.104 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001292/0.8802, allocations: 28.58 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.8804, allocations: 66.27 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8804, allocations: 0 / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.8804, allocations: 4.672 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.8804, allocations: 0.8125 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006496/0.8811, allocations: 307.8 kB / 1.105 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.8812, allocations: 55.45 kB / 1.105 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.8813, allocations: 34.47 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.704e-05/0.8813, allocations: 4.141 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.8815, allocations: 87.16 kB / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.144e-06/0.8815, allocations: 0 / 1.105 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003139/0.8818, allocations: 109.5 kB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.8819, allocations: 63.33 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.882, allocations: 112.2 kB / 1.105 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.882, allocations: 29.69 kB / 1.105 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.599e-05/0.8821, allocations: 92.28 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.8822, allocations: 11.81 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.8822, allocations: 4 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8823, allocations: 326.8 kB / 1.106 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.8824, allocations: 20 kB / 1.106 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.737e-05/0.8824, allocations: 57.77 kB / 1.106 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/0.8825, allocations: 27.97 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8825, allocations: 4 kB / 1.106 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002424/0.8828, allocations: 113.3 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8828, allocations: 4 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.912e-06/0.8828, allocations: 4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.8828, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.883, allocations: 19.92 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.883, allocations: 4 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.8831, allocations: 16.11 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.438e-05/0.8831, allocations: 4 kB / 1.106 GB, free: 10.6 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 0.0001048/0.8832, allocations: 113.5 kB / 1.106 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002231/0.8835, allocations: 109.5 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.511e-05/0.8835, allocations: 7.906 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.8838, allocations: 134.1 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.8838, allocations: 4 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.8838, allocations: 4 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.8838, allocations: 1.5 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.8843, allocations: 379.6 kB / 1.107 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.8843, allocations: 0 / 1.107 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.642e-05/0.8844, allocations: 19.92 kB / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.8844, allocations: 0 / 1.107 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.764e-05/0.8845, allocations: 7.375 kB / 1.107 GB, free: 9.781 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.8845, allocations: 4 kB / 1.107 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/0.8845, allocations: 11.88 kB / 1.107 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.8847, allocations: 202.3 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.8848, allocations: 85.02 kB / 1.107 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.637e-05/0.8848, allocations: 3.984 kB / 1.107 GB, free: 9.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.8849, allocations: 8 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.885, allocations: 15.97 kB / 1.107 GB, free: 9.426 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.885, allocations: 11.95 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.679e-05/0.8851, allocations: 93.41 kB / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8851, allocations: 0 / 1.107 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003954/0.8855, allocations: 58.83 kB / 1.107 GB, free: 9.27 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.0009578/0.8865, allocations: 0.8108 MB / 1.108 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001837/0.8867, allocations: 63.92 kB / 1.108 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8867, allocations: 3.938 kB / 1.108 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.622e-05/0.8868, allocations: 43.94 kB / 1.108 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.8871, allocations: 17.92 kB / 1.108 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.8877, allocations: 168.3 kB / 1.108 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.888, allocations: 0.6971 MB / 1.109 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.331e-05/0.8881, allocations: 8.422 kB / 1.109 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.8882, allocations: 35.42 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of SimCode: time 4.01e-07/0.8882, allocations: 2.438 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.9107, allocations: 2.593 MB / 1.112 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.911, allocations: 190 kB / 1.112 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.597/2.508, allocations: 0 / 1.112 GB, free: 4.637 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)