Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 105.5 kB / 16.41 MB, free: 6.492 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.00188/0.00188, 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 1.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.164/2.164, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 59.91 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6715/0.6728, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002272/0.6751, allocations: 1.605 MB / 1.09 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.6762, allocations: 0.7684 MB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.6763, allocations: 0.7188 kB / 1.091 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.874e-05/0.6763, allocations: 9.703 kB / 1.091 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.6764, allocations: 20.75 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004997/0.6769, allocations: 141.4 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.677, allocations: 143 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.6771, allocations: 23.78 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.6772, allocations: 61.48 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.6773, allocations: 71.69 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.6774, allocations: 11.5 kB / 1.091 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.6776, allocations: 103.1 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.6776, allocations: 33.38 kB / 1.092 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.6777, allocations: 51.27 kB / 1.092 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.6779, allocations: 195.1 kB / 1.092 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.678, allocations: 4.688 kB / 1.092 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.678, allocations: 3.938 kB / 1.092 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.678, allocations: 1.094 kB / 1.092 GB, free: 3.746 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006118/0.6786, allocations: 481.5 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.6786, allocations: 8.656 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.6787, allocations: 11.14 kB / 1.092 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.6788, allocations: 188.4 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.6788, allocations: 12.52 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.6788, allocations: 13.31 kB / 1.092 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002404/0.6791, allocations: 92.89 kB / 1.093 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6791, allocations: 0.8125 kB / 1.093 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6791, allocations: 5.031 kB / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6791, allocations: 1.562 kB / 1.093 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002019/0.6793, allocations: 60.77 kB / 1.093 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.6801, allocations: 381.8 kB / 1.093 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.6803, allocations: 65.94 kB / 1.093 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.6804, allocations: 52.3 kB / 1.093 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.6804, allocations: 6.516 kB / 1.093 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002036/0.6806, allocations: 101.7 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.6806, allocations: 1.094 kB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005399/0.6812, allocations: 213.2 kB / 1.093 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.6812, allocations: 58.3 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.499e-05/0.6813, allocations: 147.8 kB / 1.094 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.6813, allocations: 32.27 kB / 1.094 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.6814, allocations: 94.08 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.6814, allocations: 21.62 kB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.6815, allocations: 31.38 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.11e-05/0.6815, allocations: 321.6 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.6816, allocations: 41.34 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.6818, allocations: 75.12 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.682, allocations: 111.8 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.682, allocations: 0.7812 kB / 1.094 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003254/0.6823, allocations: 156.8 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.6824, allocations: 5.781 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6824, allocations: 1.734 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.6824, allocations: 1.688 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.6825, allocations: 17.84 kB / 1.094 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.6826, allocations: 14.94 kB / 1.094 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.6827, allocations: 19.53 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.6827, allocations: 9.078 kB / 1.094 GB, free: 1.531 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$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.954e-05/0.6828, allocations: 121.2 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.6828, allocations: 9.219 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.6828, allocations: 12.5 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6829, allocations: 1.484 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.6829, allocations: 4 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.178e-05/0.6829, allocations: 88.62 kB / 1.095 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.6829, allocations: 6.266 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.683, allocations: 10.48 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.6831, allocations: 7.094 kB / 1.095 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004233/0.6835, allocations: 249.5 kB / 1.095 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003897/0.6839, allocations: 342.2 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001404/0.6841, allocations: 55.42 kB / 1.095 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.089e-05/0.6841, allocations: 108.4 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Backend: time 8.02e-07/0.6841, allocations: 0 / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006647/0.6848, allocations: 206.4 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003539/0.6852, allocations: 0.6443 MB / 1.096 GB, free: 40 kB / 0.8575 GB Notification: Performance of Templates: time 0.005084/0.6902, allocations: 2.013 MB / 1.098 GB, free: 15.86 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches