Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 98.88 kB / 16.02 MB, free: 76 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.001323/0.001324, allocations: 185.3 kB / 16.92 MB, free: 6.777 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.453/1.453, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.414/2.414, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003743, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6633/0.6637, allocations: 142.4 MB / 0.9557 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001442/0.6652, allocations: 1.23 MB / 0.9569 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.6662, allocations: 0.7474 MB / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.245e-05/0.6663, allocations: 0 / 0.9576 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.6663, allocations: 3.984 kB / 0.9576 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.6664, allocations: 14.2 kB / 0.9577 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.6668, allocations: 101.5 kB / 0.9577 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.6e-05/0.6669, allocations: 81.86 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.667, allocations: 17.89 kB / 0.9578 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.6671, allocations: 38.61 kB / 0.9579 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.6672, allocations: 35.44 kB / 0.9579 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.6672, allocations: 3.312 kB / 0.9579 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.6674, allocations: 88.91 kB / 0.958 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.909e-05/0.6674, allocations: 15.92 kB / 0.958 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.6674, allocations: 62.86 kB / 0.9581 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.6676, allocations: 97.98 kB / 0.9582 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6676, allocations: 4 kB / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6676, allocations: 0 / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.6676, allocations: 0 / 0.9582 GB, free: 5.801 MB / 0.7169 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.0005484/0.6681, allocations: 453.4 kB / 0.9586 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.6682, allocations: 9.531 kB / 0.9586 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.513e-05/0.6682, allocations: 9.062 kB / 0.9586 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.6683, allocations: 184.8 kB / 0.9588 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6683, allocations: 2.688 kB / 0.9588 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.6684, allocations: 9.938 kB / 0.9588 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.6685, allocations: 77.92 kB / 0.9589 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6685, allocations: 1.156 kB / 0.9589 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.6686, allocations: 4 kB / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6686, allocations: 1.25 kB / 0.9589 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.6687, allocations: 46 kB / 0.9589 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.6691, allocations: 320.7 kB / 0.9592 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.6693, allocations: 78.73 kB / 0.9593 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.602e-05/0.6694, allocations: 33.22 kB / 0.9594 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.6694, allocations: 5.375 kB / 0.9594 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.6696, allocations: 90.86 kB / 0.9594 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.6696, allocations: 0 / 0.9594 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003668/0.67, allocations: 167.8 kB / 0.9596 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.67, allocations: 54.16 kB / 0.9597 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.002e-05/0.6701, allocations: 131.6 kB / 0.9598 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.6701, allocations: 27.02 kB / 0.9598 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.6702, allocations: 99.11 kB / 0.9599 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-05/0.6702, allocations: 27.67 kB / 0.9599 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.6702, allocations: 17.81 kB / 0.9599 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.008e-05/0.6703, allocations: 328.7 kB / 0.9603 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.404e-05/0.6703, allocations: 24.77 kB / 0.9603 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.68e-05/0.6704, allocations: 70.75 kB / 0.9603 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.6706, allocations: 109 kB / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6706, allocations: 0 / 0.9605 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002253/0.6708, allocations: 131.8 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.6709, allocations: 5.156 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6709, allocations: 1.5 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.6709, allocations: 2.281 kB / 0.9606 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.671, allocations: 28.33 kB / 0.9606 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.671, allocations: 6.016 kB / 0.9606 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.6711, allocations: 9.875 kB / 0.9606 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.6712, allocations: 12.23 kB / 0.9606 GB, free: 3.496 MB / 0.7169 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 7.317e-05/0.6712, allocations: 128.5 kB / 0.9608 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.6713, allocations: 7.281 kB / 0.9608 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.6716, allocations: 154 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.6716, allocations: 2.75 kB / 0.9609 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.6716, allocations: 4 kB / 0.9609 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6716, allocations: 0 / 0.9609 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.6721, allocations: 434.4 kB / 0.9613 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.6721, allocations: 9 kB / 0.9613 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.6722, allocations: 12.25 kB / 0.9614 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.6722, allocations: 1.375 kB / 0.9614 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.6722, allocations: 9.359 kB / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6722, allocations: 0 / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6722, allocations: 5.312 kB / 0.9614 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.6725, allocations: 228.1 kB / 0.9616 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.6725, allocations: 83.77 kB / 0.9617 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.6725, allocations: 13.36 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.6726, allocations: 6.875 kB / 0.9617 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.6727, allocations: 17.41 kB / 0.9617 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.6727, allocations: 4.125 kB / 0.9617 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.6728, allocations: 99.14 kB / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6728, allocations: 0 / 0.9618 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003063/0.6731, allocations: 43.56 kB / 0.9618 GB, free: 2.457 MB / 0.7169 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.0002943/0.6734, allocations: 165.2 kB / 0.962 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.6736, allocations: 89.45 kB / 0.9621 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6736, allocations: 256 / 0.9621 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.6737, allocations: 54.73 kB / 0.9621 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.674, allocations: 18.58 kB / 0.9622 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000407/0.6744, allocations: 275.3 kB / 0.9624 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.6746, allocations: 0.6931 MB / 0.9631 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.65e-05/0.6746, allocations: 13.12 kB / 0.9631 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6746, allocations: 0 / 0.9631 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of Templates: time 0.00345/0.6781, allocations: 1.805 MB / 0.9649 GB, free: 400 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches