Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001783/0.001783, allocations: 111 kB / 15.99 MB, free: 6.367 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.001994/0.001994, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 482.2 MB / 0.7548 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002024, allocations: 72.61 kB / 0.9238 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7726/0.7746, allocations: 162.2 MB / 1.082 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light2): time 0.002594/0.7772, allocations: 1.57 MB / 1.084 GB, free: 0.6367 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.7784, allocations: 0.7456 MB / 1.084 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.116e-05/0.7784, allocations: 0 / 1.084 GB, free: 132 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.904e-05/0.7785, allocations: 6.297 kB / 1.084 GB, free: 128 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.359e-05/0.7786, allocations: 14.52 kB / 1.084 GB, free: 116 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.7791, allocations: 112 kB / 1.085 GB, free: 60 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001126/0.7793, allocations: 85.25 kB / 1.085 GB, free: 20 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.441e-05/0.7794, allocations: 15.33 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.7795, allocations: 41.22 kB / 1.085 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.7796, allocations: 37.83 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.7796, allocations: 6.312 kB / 1.085 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000223/0.7798, allocations: 102.1 kB / 1.085 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.7799, allocations: 24.31 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.7799, allocations: 34.39 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.7801, allocations: 103.6 kB / 1.085 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7801, allocations: 8.734 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7801, allocations: 1.031 kB / 1.085 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.7802, allocations: 0 / 1.085 GB, free: 15.87 MB / 0.8419 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.0007679/0.7809, allocations: 456.4 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.781, allocations: 10.59 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.781, allocations: 8.281 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.7812, allocations: 178.9 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.7812, allocations: 4.078 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.7812, allocations: 4 kB / 1.086 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.7814, allocations: 79.75 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.7815, allocations: 0.875 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.7815, allocations: 1.625 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.7815, allocations: 4.984 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.7816, allocations: 50.53 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005691/0.7822, allocations: 318.5 kB / 1.086 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.7824, allocations: 63.23 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.096e-05/0.7825, allocations: 37.33 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.7825, allocations: 0.7812 kB / 1.086 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.7828, allocations: 97.11 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.7828, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.000408/0.7832, allocations: 157.3 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.7832, allocations: 58.05 kB / 1.086 GB, free: 14.58 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.7834, allocations: 134.3 kB / 1.087 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.7834, allocations: 31.23 kB / 1.087 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.7835, allocations: 89.58 kB / 1.087 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.7835, allocations: 24.14 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.7836, allocations: 32.45 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7837, allocations: 324.3 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.7838, allocations: 26.73 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.7839, allocations: 74.98 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.7841, allocations: 104 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7842, allocations: 5.062 kB / 1.087 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002908/0.7844, allocations: 125.6 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.7845, allocations: 6.25 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.7845, allocations: 1.219 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.7845, allocations: 2.375 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.7846, allocations: 15.34 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.7847, allocations: 2.844 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.7848, allocations: 17.03 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.7848, allocations: 5.906 kB / 1.087 GB, free: 13.75 MB / 0.8419 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 0.0001269/0.7849, allocations: 124.8 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.785, allocations: 7.984 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.7854, allocations: 146 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.7854, allocations: 2.125 kB / 1.088 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.7854, allocations: 7.938 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.7854, allocations: 2.297 kB / 1.088 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007078/0.7861, allocations: 431.6 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.7861, allocations: 0 / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.601e-05/0.7862, allocations: 10.16 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.7862, allocations: 9.125 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.7863, allocations: 2.5 kB / 1.088 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.7863, allocations: 5.719 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.7863, allocations: 7.922 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.7866, allocations: 227.6 kB / 1.088 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.7867, allocations: 83.67 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.7867, allocations: 1.859 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.7868, allocations: 11.64 kB / 1.088 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.7869, allocations: 13.38 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.7869, allocations: 9.938 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.23e-05/0.787, allocations: 98.12 kB / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.787, allocations: 0 / 1.089 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003459/0.7874, allocations: 41.47 kB / 1.089 GB, free: 12.8 MB / 0.8419 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.0003814/0.7878, allocations: 164.6 kB / 1.089 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002462/0.788, allocations: 90.38 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.788, allocations: 1.125 kB / 1.089 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.7882, allocations: 50.14 kB / 1.089 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.7885, allocations: 20.3 kB / 1.089 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.789, allocations: 251.9 kB / 1.089 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.7893, allocations: 0.6983 MB / 1.09 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.7894, allocations: 18.89 kB / 1.09 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.7894, allocations: 0 / 1.09 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of Templates: time 0.003952/0.7933, allocations: 1.833 MB / 1.092 GB, free: 11.54 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Love1998Light2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Love1998Light2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches