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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.000861/0.0008611, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007028/0.007028, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.9 MB / 0.6663 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.0004352, allocations: 11.98 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6993/0.6998, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.001421/0.7013, allocations: 1.222 MB / 0.9562 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.7024, allocations: 0.7509 MB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.764e-05/0.7025, allocations: 1.344 kB / 0.957 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.7025, allocations: 3.938 kB / 0.957 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.83e-05/0.7026, allocations: 14.08 kB / 0.957 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.703, allocations: 109.4 kB / 0.9571 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.827e-05/0.7031, allocations: 77.94 kB / 0.9572 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.345e-05/0.7032, allocations: 12.86 kB / 0.9572 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.806e-05/0.7033, allocations: 35.06 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.7034, allocations: 38.8 kB / 0.9572 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.7034, allocations: 8.219 kB / 0.9573 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.7036, allocations: 88.75 kB / 0.9573 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.7036, allocations: 15.8 kB / 0.9574 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.7037, allocations: 63.52 kB / 0.9574 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7039, allocations: 138.1 kB / 0.9575 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.7039, allocations: 0 / 0.9575 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7039, allocations: 0 / 0.9575 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.349e-06/0.7039, allocations: 0 / 0.9575 GB, free: 5.719 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.0005857/0.7045, allocations: 453.6 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.7045, allocations: 8.969 kB / 0.958 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.7046, allocations: 10.22 kB / 0.958 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.88e-05/0.7047, allocations: 179.8 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.7047, allocations: 4.031 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.7047, allocations: 4.781 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.7049, allocations: 82.33 kB / 0.9583 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.7049, allocations: 4 kB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.7049, allocations: 1.312 kB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.705, allocations: 1.375 kB / 0.9583 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.7051, allocations: 45.03 kB / 0.9583 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.7055, allocations: 325.3 kB / 0.9586 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.7057, allocations: 66.02 kB / 0.9587 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.952e-05/0.7058, allocations: 33.47 kB / 0.9587 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.7058, allocations: 5.922 kB / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.706, allocations: 105.5 kB / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.706, allocations: 0 / 0.9588 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0003962/0.7064, allocations: 163.8 kB / 0.959 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.7065, allocations: 57.88 kB / 0.959 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.7066, allocations: 124.4 kB / 0.9591 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.7066, allocations: 35.02 kB / 0.9592 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.7066, allocations: 95.08 kB / 0.9593 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.7066, allocations: 23.03 kB / 0.9593 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.7067, allocations: 19.19 kB / 0.9593 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.7067, allocations: 324.8 kB / 0.9596 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.773e-05/0.7068, allocations: 28.64 kB / 0.9597 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.463e-05/0.7069, allocations: 74.22 kB / 0.9597 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.7071, allocations: 108.2 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.7071, allocations: 1.906 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000225/0.7073, allocations: 130.2 kB / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7073, allocations: 6.562 kB / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7073, allocations: 1.031 kB / 0.96 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7074, allocations: 6.734 kB / 0.96 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.7075, allocations: 19.11 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7075, allocations: 2.75 kB / 0.96 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.7076, allocations: 13.62 kB / 0.96 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.7076, allocations: 8.109 kB / 0.96 GB, free: 3.422 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 6.728e-05/0.7077, allocations: 123.2 kB / 0.9601 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.7077, allocations: 8.031 kB / 0.9601 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.708, allocations: 157.1 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.708, allocations: 2.75 kB / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.708, allocations: 0 / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.708, allocations: 0 / 0.9603 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.7085, allocations: 442.4 kB / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.7085, allocations: 0 / 0.9607 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.7086, allocations: 13.94 kB / 0.9607 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7086, allocations: 0 / 0.9607 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.7086, allocations: 9.297 kB / 0.9607 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7087, allocations: 1.375 kB / 0.9607 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.7087, allocations: 11.88 kB / 0.9607 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.7089, allocations: 228 kB / 0.961 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.7089, allocations: 83.77 kB / 0.961 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.709, allocations: 5.359 kB / 0.961 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.7091, allocations: 12.25 kB / 0.9611 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.509e-05/0.7091, allocations: 17.41 kB / 0.9611 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.7092, allocations: 2.75 kB / 0.9611 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.7092, allocations: 108.6 kB / 0.9612 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7092, allocations: 0 / 0.9612 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003152/0.7095, allocations: 39.62 kB / 0.9612 GB, free: 2.379 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.0003216/0.7099, allocations: 174.7 kB / 0.9614 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002407/0.7101, allocations: 89.3 kB / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.7101, allocations: 0 / 0.9615 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.7102, allocations: 49.91 kB / 0.9615 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.7105, allocations: 15.02 kB / 0.9615 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003981/0.7109, allocations: 243 kB / 0.9618 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.7111, allocations: 0.6931 MB / 0.9624 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.595e-05/0.7111, allocations: 10.34 kB / 0.9624 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.7112, allocations: 20.11 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.7112, allocations: 0.75 kB / 0.9625 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of Templates: time 0.004302/0.7155, allocations: 1.651 MB / 0.9641 GB, free: 428 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/jenkins/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