Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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.Love1998Light2,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.838/2.838, allocations: 287.3 MB / 302.3 MB, free: 8.324 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.001589/0.001589, allocations: 193.8 kB / 370.8 MB, free: 10.85 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.355/2.355, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001152/0.001152, allocations: 94.91 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005071, allocations: 14.53 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2661, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.00183/0.268, allocations: 1.199 MB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001505/0.2695, allocations: 0.7464 MB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.2696, allocations: 0 / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.503e-05/0.2697, allocations: 4 kB / 0.9802 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2698, allocations: 19.89 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.2703, allocations: 91.7 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.2705, allocations: 59.86 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.2706, allocations: 4 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.2707, allocations: 39.89 kB / 0.9804 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.2708, allocations: 35.84 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.2708, allocations: 4 kB / 0.9804 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.271, allocations: 67.92 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.2711, allocations: 15.92 kB / 0.9805 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.2711, allocations: 37.64 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2713, allocations: 104 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2714, allocations: 0 / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2714, allocations: 3.938 kB / 0.9807 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.2714, allocations: 4 kB / 0.9807 GB, free: 25.82 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007911/0.2722, allocations: 446.5 kB / 0.9811 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2722, allocations: 16.02 kB / 0.9811 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.2723, allocations: 34.56 kB / 0.9811 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.2723, allocations: 11.86 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2725, allocations: 171 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.2725, allocations: 8 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.2725, allocations: 4 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.2728, allocations: 85.52 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2728, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2728, allocations: 0 / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2728, allocations: 4 kB / 0.9814 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002094/0.2731, allocations: 43.97 kB / 0.9814 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.2737, allocations: 328.7 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2739, allocations: 62.55 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.274, allocations: 4 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.2743, allocations: 95.36 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 3.287e-06/0.2743, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005905/0.2749, allocations: 165.5 kB / 0.9821 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.275, allocations: 59.34 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.2751, allocations: 131.4 kB / 0.9823 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2751, allocations: 37.7 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.2752, allocations: 88.38 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.2752, allocations: 27.84 kB / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.528e-06/0.2752, allocations: 0 / 0.9824 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.226e-05/0.2753, allocations: 322.8 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.2754, allocations: 27.98 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.2756, allocations: 65.77 kB / 0.9828 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.2757, allocations: 39.92 kB / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2757, allocations: 0 / 0.9828 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003495/0.2761, allocations: 133.4 kB / 0.983 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.2761, allocations: 8 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2761, allocations: 384 / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.2762, allocations: 4 kB / 0.983 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.2763, allocations: 19.92 kB / 0.983 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2764, allocations: 3.953 kB / 0.983 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2766, allocations: 31.98 kB / 0.983 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2766, allocations: 7.984 kB / 0.983 GB, free: 23.12 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,occ.y,$PRE.occ.pulseStart,occ.pulseStart) * Number of discrete states: 0 () * Number of clocked 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.0001056/0.2767, allocations: 121.9 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/0.2767, allocations: 7.906 kB / 0.9832 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.2772, allocations: 146 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.2772, allocations: 0 / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2772, allocations: 8 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2773, allocations: 11.94 kB / 0.9833 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007234/0.278, allocations: 430.2 kB / 0.9837 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.278, allocations: 4 kB / 0.9837 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.2781, allocations: 15.98 kB / 0.9837 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.2782, allocations: 0 / 0.9837 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2782, allocations: 3.953 kB / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.2782, allocations: 0 / 0.9837 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2782, allocations: 4 kB / 0.9838 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.2786, allocations: 235.3 kB / 0.984 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.2787, allocations: 85.02 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.2787, allocations: 4 kB / 0.9841 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2789, allocations: 19.94 kB / 0.9841 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.843e-05/0.279, allocations: 7.984 kB / 0.9841 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.279, allocations: 4 kB / 0.9841 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.399e-05/0.2791, allocations: 96.14 kB / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.61e-07/0.2791, allocations: 0 / 0.9842 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000445/0.2796, allocations: 43.98 kB / 0.9842 GB, free: 21.8 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * 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.0009466/0.2805, allocations: 0.826 MB / 0.985 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.2809, allocations: 83.91 kB / 0.9851 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.281, allocations: 0 / 0.9851 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.2811, allocations: 51.91 kB / 0.9852 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.2815, allocations: 16.19 kB / 0.9852 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001029/0.2825, allocations: 1.228 MB / 0.9864 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.2827, allocations: 0.7004 MB / 0.9871 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.839e-05/0.2828, allocations: 12.61 kB / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.2829, allocations: 27.42 kB / 0.9871 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.193e-06/0.2829, allocations: 0 / 0.9871 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3072, allocations: 2.706 MB / 0.9897 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.3075, allocations: 239 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/2.892, allocations: 0 / 0.99 GB, free: 15.95 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1)