Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light",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.837/1.837, allocations: 288.4 MB / 303.3 MB, free: 8.164 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.0009441/0.0009439, allocations: 182.8 kB / 372 MB, free: 10.26 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.555/1.555, allocations: 205.4 MB / 0.6307 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008043/0.0008042, allocations: 96.66 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000473/0.0004732, allocations: 15.64 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2594, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.001732/0.2612, allocations: 1.219 MB / 0.9808 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2625, allocations: 0.7461 MB / 0.9816 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.2626, allocations: 4 kB / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.2626, allocations: 0 / 0.9816 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.2627, allocations: 15.84 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005569/0.2633, allocations: 99.77 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.2634, allocations: 87.7 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.447e-05/0.2635, allocations: 11.98 kB / 0.9818 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.2637, allocations: 39.84 kB / 0.9818 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.3e-05/0.2638, allocations: 47.81 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.2638, allocations: 4 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.264, allocations: 83.86 kB / 0.9819 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.902e-05/0.264, allocations: 19.91 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.291e-05/0.2641, allocations: 41.64 kB / 0.982 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.2643, allocations: 115.9 kB / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2643, allocations: 0 / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2643, allocations: 0 / 0.9821 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2643, allocations: 0 / 0.9821 GB, free: 25.01 MB / 0.6198 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.0007376/0.2651, allocations: 484.2 kB / 0.9826 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.2651, allocations: 12.02 kB / 0.9826 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/0.2652, allocations: 38.56 kB / 0.9826 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.2652, allocations: 11.81 kB / 0.9826 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.2654, allocations: 178.9 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.2654, allocations: 8 kB / 0.9828 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.2655, allocations: 8 kB / 0.9828 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.2657, allocations: 81.62 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.2657, allocations: 0 / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2658, allocations: 4 kB / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.2658, allocations: 0 / 0.9829 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.266, allocations: 51.97 kB / 0.9829 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.2666, allocations: 344.6 kB / 0.9833 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/0.2669, allocations: 78.67 kB / 0.9833 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.2671, allocations: 48.83 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.2671, allocations: 0 / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002993/0.2674, allocations: 111.3 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.2674, allocations: 0 / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005007/0.2679, allocations: 177.5 kB / 0.9837 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.268, allocations: 59.36 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.2682, allocations: 132.4 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.2682, allocations: 29.7 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/0.2683, allocations: 92.05 kB / 0.984 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.2683, allocations: 27.64 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.083e-05/0.2683, allocations: 4 kB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.2685, allocations: 326.8 kB / 0.9843 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.2686, allocations: 31.98 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.2687, allocations: 73.12 kB / 0.9844 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2688, allocations: 36 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2688, allocations: 3.938 kB / 0.9844 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000324/0.2692, allocations: 145.4 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.2692, allocations: 4 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2692, allocations: 0 / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.2693, allocations: 8 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.2694, allocations: 24.02 kB / 0.9846 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.2694, allocations: 7.953 kB / 0.9846 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.2696, allocations: 23.83 kB / 0.9847 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.2696, allocations: 4 kB / 0.9847 GB, free: 22.13 MB / 0.6198 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,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.2698, allocations: 125.8 kB / 0.9848 GB, free: 22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.2698, allocations: 7.906 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.2702, allocations: 166.5 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.2702, allocations: 7.984 kB / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2702, allocations: 0 / 0.9849 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.2702, allocations: 3.953 kB / 0.985 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.2709, allocations: 466.2 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2709, allocations: 0 / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.07e-05/0.271, allocations: 8 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.271, allocations: 4 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.2711, allocations: 7.938 kB / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2711, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2711, allocations: 0 / 0.9854 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.2713, allocations: 248.5 kB / 0.9857 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.239e-05/0.2714, allocations: 85.02 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.2714, allocations: 4 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.2715, allocations: 15.94 kB / 0.9858 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.2716, allocations: 7.984 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2716, allocations: 11.98 kB / 0.9858 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.162e-05/0.2717, allocations: 99.83 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2717, allocations: 0 / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000307/0.272, allocations: 44 kB / 0.9859 GB, free: 20.75 MB / 0.6198 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 (13): * Single equations (assignments): 10 * 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.0007905/0.2728, allocations: 0.849 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002766/0.2731, allocations: 91.89 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2731, allocations: 0 / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.2732, allocations: 64.09 kB / 0.9869 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.2736, allocations: 19.94 kB / 0.9869 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2748, allocations: 0.7088 MB / 0.9876 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.2749, allocations: 0.6965 MB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.82e-05/0.275, allocations: 12.69 kB / 0.9883 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.872e-05/0.2751, allocations: 35.42 kB / 0.9883 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of SimCode: time 1.202e-06/0.2751, allocations: 0 / 0.9883 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.2897, allocations: 2.943 MB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/0.29, allocations: 256.4 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.048, allocations: 4 kB / 0.9914 GB, free: 15.07 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1)