Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.586/2.586, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001457/0.001458, allocations: 180.8 kB / 360.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.305/2.305, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001048/0.001047, allocations: 91.08 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.891e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8253, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2402/1.066, allocations: 139.3 MB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/1.066, allocations: 80.53 kB / 1.1 GB, free: 0.9844 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.01597/1.082, allocations: 3.144 MB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.395e-06/1.082, allocations: 0 / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.084e-05/1.082, allocations: 1.156 kB / 1.103 GB, free: 13.9 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.001058/1.083, allocations: 463.9 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.614e-05/1.083, allocations: 15.06 kB / 1.103 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.353e-05/1.083, allocations: 7.906 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/1.083, allocations: 171 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.084, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/1.084, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000165/1.084, allocations: 31.98 kB / 1.103 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/1.084, allocations: 61.61 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.084, allocations: 2.25 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.084, allocations: 4 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.515e-06/1.084, allocations: 0 / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009435/1.085, allocations: 316.2 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/1.085, allocations: 50.56 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.532e-05/1.085, allocations: 28.86 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/1.085, allocations: 7.156 kB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002501/1.086, allocations: 87.39 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 2.946e-06/1.086, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0004769/1.086, allocations: 107 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.086, allocations: 55.41 kB / 1.104 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/1.086, allocations: 114.2 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/1.086, allocations: 25.7 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.038e-05/1.086, allocations: 104.2 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.821e-05/1.087, allocations: 15.81 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.628e-06/1.087, allocations: 0 / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.087, allocations: 326.8 kB / 1.105 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.011e-05/1.087, allocations: 20 kB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/1.087, allocations: 57.14 kB / 1.105 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/1.087, allocations: 27.97 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.087, allocations: 9.062 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003123/1.087, allocations: 105.4 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.087, allocations: 4.125 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.087, allocations: 8 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.088, allocations: 0 / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/1.088, allocations: 19.92 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/1.088, allocations: 4 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/1.088, allocations: 12.86 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/1.088, allocations: 8 kB / 1.105 GB, free: 11.45 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.0001366/1.088, allocations: 118.4 kB / 1.105 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003407/1.088, allocations: 110.2 kB / 1.105 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/1.089, allocations: 11.91 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004121/1.089, allocations: 131.5 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.089, allocations: 2.812 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.089, allocations: 0 / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.457e-06/1.089, allocations: 7.141 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/1.09, allocations: 387.1 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.09, allocations: 0 / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/1.09, allocations: 15.92 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/1.09, allocations: 0 / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/1.09, allocations: 0 / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/1.09, allocations: 7.953 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.09, allocations: 0 / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/1.091, allocations: 214.3 kB / 1.106 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.597e-05/1.091, allocations: 85.02 kB / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/1.091, allocations: 0 / 1.106 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/1.091, allocations: 15.98 kB / 1.106 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/1.091, allocations: 11.94 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/1.091, allocations: 7.984 kB / 1.106 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.762e-05/1.091, allocations: 92.41 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.091, allocations: 0 / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005205/1.092, allocations: 55.92 kB / 1.106 GB, free: 10.12 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.001152/1.093, allocations: 0.8124 MB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002694/1.093, allocations: 67.92 kB / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.093, allocations: 0 / 1.107 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/1.093, allocations: 43.88 kB / 1.107 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/1.094, allocations: 14.91 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/1.094, allocations: 168.4 kB / 1.107 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/1.095, allocations: 0.7043 MB / 1.108 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.153e-05/1.095, allocations: 12.42 kB / 1.108 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/1.095, allocations: 23.42 kB / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of SimCode: time 3.016e-06/1.095, allocations: 0 / 1.108 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04425/1.139, allocations: 2.596 MB / 1.11 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003577/1.14, allocations: 184.1 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.492/3.631, allocations: 4.016 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1)