Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009219/0.00922, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001874/0.001874, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001331, allocations: 75.88 kB / 1.054 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7789/0.7803, allocations: 157.4 MB / 1.208 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002398/0.7827, allocations: 1.541 MB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.784, allocations: 0.7712 MB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.7841, allocations: 0 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.754e-05/0.7841, allocations: 7.922 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.7843, allocations: 19.8 kB / 1.21 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.7848, allocations: 131.5 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.785, allocations: 99.69 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.7851, allocations: 12 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.7852, allocations: 47.83 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.7853, allocations: 51.77 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.7853, allocations: 8 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.7855, allocations: 103.8 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.7856, allocations: 23.91 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.009e-05/0.7856, allocations: 43.78 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.7859, allocations: 159.4 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7859, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7859, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.7859, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008268/0.7868, allocations: 0.498 MB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7868, allocations: 12.03 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.855e-05/0.7869, allocations: 12.84 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.787, allocations: 193.8 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.787, allocations: 4.375 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.7871, allocations: 4.375 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.7873, allocations: 85.95 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.7873, allocations: 3.938 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.7873, allocations: 0 / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7873, allocations: 4 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.7875, allocations: 55.89 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/0.788, allocations: 328.7 kB / 1.212 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002101/0.7882, allocations: 86.75 kB / 1.212 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.804e-05/0.7883, allocations: 40.78 kB / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.7883, allocations: 0 / 1.212 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002026/0.7885, allocations: 103.3 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.7885, allocations: 0 / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004086/0.7889, allocations: 173.5 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.789, allocations: 63.34 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.7891, allocations: 140.1 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.7891, allocations: 33.7 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.7892, allocations: 96.12 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.7892, allocations: 23.66 kB / 1.213 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.7893, allocations: 37.69 kB / 1.213 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.7894, allocations: 326.8 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.097e-05/0.7895, allocations: 27.98 kB / 1.213 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.7896, allocations: 68.23 kB / 1.213 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.7898, allocations: 113 kB / 1.213 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7898, allocations: 3.938 kB / 1.213 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002552/0.7901, allocations: 137.3 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.7901, allocations: 8 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.7901, allocations: 3.984 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.7901, allocations: 4 kB / 1.213 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.7902, allocations: 19.92 kB / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7902, allocations: 0 / 1.213 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.7904, allocations: 16.08 kB / 1.213 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.7904, allocations: 8 kB / 1.213 GB, free: 7.723 MB / 0.9356 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001278/0.7905, allocations: 129.7 kB / 1.213 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.7905, allocations: 7.906 kB / 1.213 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003688/0.7909, allocations: 170.3 kB / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.7909, allocations: 0 / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7909, allocations: 0 / 1.214 GB, free: 7.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.7909, allocations: 4 kB / 1.214 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006079/0.7916, allocations: 465.4 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7916, allocations: 0 / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.367e-05/0.7917, allocations: 15.98 kB / 1.214 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7917, allocations: 3.938 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.7917, allocations: 3.984 kB / 1.214 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7917, allocations: 4 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7917, allocations: 7.938 kB / 1.214 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.792, allocations: 255.2 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.796e-05/0.7921, allocations: 88.95 kB / 1.214 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.7921, allocations: 4 kB / 1.214 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.7922, allocations: 7.984 kB / 1.214 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.7923, allocations: 16.06 kB / 1.214 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.7923, allocations: 4 kB / 1.214 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.239e-05/0.7924, allocations: 111.2 kB / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7924, allocations: 0 / 1.214 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003042/0.7927, allocations: 48 kB / 1.215 GB, free: 6.293 MB / 0.9356 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0002999/0.793, allocations: 162.7 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.7933, allocations: 99.88 kB / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7933, allocations: 0 / 1.215 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.7934, allocations: 55.92 kB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/0.7937, allocations: 19.92 kB / 1.215 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.7942, allocations: 235.7 kB / 1.215 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.7944, allocations: 0.7043 MB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.179e-05/0.7945, allocations: 8.562 kB / 1.216 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.7945, allocations: 19.42 kB / 1.216 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.7945, allocations: 4 kB / 1.216 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of Templates: time 0.004549/0.7991, allocations: 2.019 MB / 1.218 GB, free: 2.938 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches