Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 196.8 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7106 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.89 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5635/0.565, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002537/0.5676, allocations: 1.57 MB / 1.019 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.5688, allocations: 0.7712 MB / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.5688, allocations: 0 / 1.02 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.386e-05/0.5689, allocations: 3.938 kB / 1.02 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.318e-05/0.569, allocations: 19.84 kB / 1.02 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.5694, allocations: 107.8 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.555e-05/0.5695, allocations: 75.78 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.101e-05/0.5696, allocations: 7.984 kB / 1.02 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.5697, allocations: 39.84 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.5697, allocations: 35.84 kB / 1.02 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.5698, allocations: 4 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.5699, allocations: 91.84 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.57, allocations: 15.97 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.57, allocations: 43.91 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.5702, allocations: 97.69 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.5702, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.62e-07/0.5702, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.5702, allocations: 0 / 1.02 GB, free: 15.9 MB / 0.7794 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.000699/0.5709, allocations: 458.6 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.571, allocations: 8.031 kB / 1.021 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.571, allocations: 12.78 kB / 1.021 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.5712, allocations: 184.2 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5712, allocations: 12.31 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.5712, allocations: 4.375 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.5714, allocations: 73.97 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.5714, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.5714, allocations: 0 / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.5715, allocations: 3.938 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.5716, allocations: 47.95 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005049/0.5721, allocations: 320.6 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.5723, allocations: 66.55 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.5724, allocations: 28.84 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.5724, allocations: 4 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.5726, allocations: 95.55 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.5726, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0003875/0.573, allocations: 157.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.5731, allocations: 59.39 kB / 1.022 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.5732, allocations: 127.7 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.5732, allocations: 29.7 kB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.5733, allocations: 96.28 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5733, allocations: 23.73 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.5733, allocations: 33.7 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5735, allocations: 318.8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.126e-05/0.5736, allocations: 35.97 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/0.5737, allocations: 65.14 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.5738, allocations: 101 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5738, allocations: 0 / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002315/0.5741, allocations: 137.5 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.5741, allocations: 7.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.5741, allocations: 3.984 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.5741, allocations: 4 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.5742, allocations: 15.98 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.5743, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/0.5744, allocations: 15.91 kB / 1.023 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.5744, allocations: 16.3 kB / 1.023 GB, free: 13.11 MB / 0.7794 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 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.509e-05/0.5745, allocations: 123.5 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.5745, allocations: 11.84 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.5748, allocations: 149.9 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5749, allocations: 7.938 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5749, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5749, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000547/0.5754, allocations: 434.3 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5754, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.061e-05/0.5755, allocations: 11.94 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5755, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.5756, allocations: 7.984 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5756, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.5756, allocations: 3.938 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.5758, allocations: 227.4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.5759, allocations: 89 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.5759, allocations: 0 / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.576, allocations: 11.98 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.5761, allocations: 15.92 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.5761, allocations: 4 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.54e-05/0.5762, allocations: 98.39 kB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.543e-06/0.5762, allocations: 0 / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003091/0.5765, allocations: 51.92 kB / 1.024 GB, free: 11.78 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003165/0.5768, allocations: 157.3 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.5771, allocations: 83.97 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5771, allocations: 4.25 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.5772, allocations: 55.8 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.5775, allocations: 15.98 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.578, allocations: 248.1 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.5782, allocations: 0.6926 MB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.5782, allocations: 19.42 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5783, allocations: 0 / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.003509/0.5818, allocations: 1.815 MB / 1.027 GB, free: 8.656 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches