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.001801/0.001801, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.002044/0.002045, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.444/2.444, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.521/3.521, allocations: 461.9 MB / 0.7355 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003111/1.011, allocations: 1.553 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001527/1.013, allocations: 0.7673 MB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/1.013, allocations: 4 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/1.013, allocations: 7.922 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/1.013, allocations: 19.8 kB / 1.211 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/1.014, allocations: 135.5 kB / 1.211 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001556/1.014, allocations: 95.7 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/1.014, allocations: 12 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/1.014, allocations: 47.83 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.853e-05/1.015, allocations: 43.77 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/1.015, allocations: 8 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/1.015, allocations: 99.84 kB / 1.211 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.22e-05/1.015, allocations: 23.91 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/1.015, allocations: 47.78 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/1.015, allocations: 159.4 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.015, allocations: 0 / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.623e-06/1.015, allocations: 0 / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.21e-06/1.015, allocations: 4 kB / 1.211 GB, free: 10.62 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.0009006/1.016, allocations: 0.5019 MB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/1.016, allocations: 12.03 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/1.016, allocations: 8.844 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/1.016, allocations: 188.1 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/1.016, allocations: 8.312 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.016, allocations: 8.359 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/1.017, allocations: 85.95 kB / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.017, allocations: 0 / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/1.017, allocations: 0 / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.017, allocations: 0 / 1.212 GB, free: 9.707 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/1.017, allocations: 59.89 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005799/1.017, allocations: 324.7 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/1.018, allocations: 86.66 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.544e-05/1.018, allocations: 36.94 kB / 1.213 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/1.018, allocations: 7.922 kB / 1.213 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/1.018, allocations: 99.34 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 2.264e-06/1.018, allocations: 0 / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004717/1.019, allocations: 177.5 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/1.019, allocations: 51.41 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/1.019, allocations: 149.5 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/1.019, allocations: 25.7 kB / 1.213 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/1.019, allocations: 104.1 kB / 1.213 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.147e-05/1.019, allocations: 27.64 kB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/1.019, allocations: 29.7 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.019, allocations: 330.8 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/1.019, allocations: 27.98 kB / 1.214 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/1.019, allocations: 69.12 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/1.02, allocations: 105.1 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/1.02, allocations: 0 / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000276/1.02, allocations: 137.5 kB / 1.214 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.02, allocations: 11.98 kB / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/1.02, allocations: 0 / 1.214 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/1.02, allocations: 7.984 kB / 1.214 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/1.02, allocations: 28.02 kB / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.02, allocations: 0 / 1.214 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/1.02, allocations: 11.98 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/1.02, allocations: 7.938 kB / 1.214 GB, free: 7.664 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.0001038/1.02, allocations: 133.7 kB / 1.214 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/1.02, allocations: 7.906 kB / 1.214 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003836/1.021, allocations: 170.3 kB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/1.021, allocations: 4 kB / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.021, allocations: 0 / 1.214 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/1.021, allocations: 92.91 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/1.021, allocations: 0 / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/1.021, allocations: 11.94 kB / 1.214 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/1.021, allocations: 19.91 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003813/1.021, allocations: 236.8 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003611/1.022, allocations: 325.4 kB / 1.215 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001155/1.022, allocations: 47.97 kB / 1.215 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.584e-05/1.022, allocations: 107.2 kB / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of Backend: time 6.51e-07/1.022, allocations: 0 / 1.215 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007192/1.023, allocations: 200 kB / 1.215 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0006068/1.023, allocations: 0.6528 MB / 1.216 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of Templates: time 0.005333/1.029, allocations: 2.025 MB / 1.218 GB, free: 3.562 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/jenkins1/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