Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001282/0.001282, allocations: 198.7 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 482.4 MB / 0.755 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 66.88 kB / 0.924 GB, free: 380 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6959/0.6978, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.002366/0.7002, allocations: 1.685 MB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.7014, allocations: 0.788 MB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.177e-05/0.7014, allocations: 0.875 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.95e-05/0.7015, allocations: 6.281 kB / 1.085 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.17e-05/0.7016, allocations: 21.55 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.7022, allocations: 129.6 kB / 1.085 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.7024, allocations: 152.7 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.7026, allocations: 30.39 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.7027, allocations: 71.06 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.7029, allocations: 75.22 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.15e-05/0.7029, allocations: 12.81 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002316/0.7031, allocations: 101.8 kB / 1.085 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.7032, allocations: 35.05 kB / 1.085 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 9.152e-05/0.7033, allocations: 64.5 kB / 1.085 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.7036, allocations: 149 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7036, allocations: 1.156 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7036, allocations: 0.7812 kB / 1.086 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.7036, allocations: 0 / 1.086 GB, free: 15.56 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009535/0.7046, allocations: 0.5409 MB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.7046, allocations: 9.188 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.712e-05/0.7047, allocations: 14.59 kB / 1.086 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.7049, allocations: 188.8 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.7049, allocations: 6.75 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.092e-05/0.7049, allocations: 9.141 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004603/0.7054, allocations: 139.2 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7054, allocations: 0 / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.7054, allocations: 4.75 kB / 1.087 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.7054, allocations: 9.406 kB / 1.087 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004006/0.7059, allocations: 104.6 kB / 1.087 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007845/0.7066, allocations: 380.3 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003512/0.707, allocations: 99.3 kB / 1.087 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.7073, allocations: 89.98 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.7074, allocations: 5.953 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.7078, allocations: 144.8 kB / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.7078, allocations: 0 / 1.087 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.001096/0.7089, allocations: 306.4 kB / 1.088 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.709, allocations: 54.09 kB / 1.088 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.7091, allocations: 151.9 kB / 1.088 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.7091, allocations: 26.64 kB / 1.088 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.819e-05/0.7092, allocations: 100 kB / 1.088 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7092, allocations: 28.59 kB / 1.088 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.7093, allocations: 32.14 kB / 1.088 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7095, allocations: 324.6 kB / 1.088 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.7096, allocations: 42.91 kB / 1.088 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.7098, allocations: 82 kB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.71, allocations: 120.4 kB / 1.089 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7101, allocations: 4 kB / 1.089 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003545/0.7104, allocations: 154.1 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.7104, allocations: 5.656 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.7105, allocations: 2.891 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.7105, allocations: 1.594 kB / 1.089 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.7106, allocations: 23.02 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.7106, allocations: 6.125 kB / 1.089 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.7108, allocations: 22.48 kB / 1.089 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.7108, allocations: 4.203 kB / 1.089 GB, free: 13.23 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: 9 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001161/0.7109, allocations: 126.8 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.7109, allocations: 9.344 kB / 1.089 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.328e-05/0.711, allocations: 13.27 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.711, allocations: 1.25 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.711, allocations: 4 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.711, allocations: 1.75 kB / 1.089 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.712, allocations: 0.5316 MB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.712, allocations: 1.531 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.666e-05/0.7121, allocations: 20.83 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.7121, allocations: 0 / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.7122, allocations: 3.828 kB / 1.089 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.7122, allocations: 6.594 kB / 1.089 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.7122, allocations: 0 / 1.089 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007874/0.713, allocations: 324 kB / 1.09 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.713, allocations: 88.83 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.442e-05/0.7131, allocations: 6.062 kB / 1.09 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.7133, allocations: 33.28 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.7134, allocations: 5.734 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.7134, allocations: 9.703 kB / 1.09 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.7135, allocations: 109.6 kB / 1.09 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7135, allocations: 0 / 1.09 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003394/0.7138, allocations: 49.33 kB / 1.09 GB, free: 12.3 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0003726/0.7142, allocations: 167.1 kB / 1.09 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005274/0.7147, allocations: 141.8 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7148, allocations: 4.062 kB / 1.09 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.7151, allocations: 91.72 kB / 1.09 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.7154, allocations: 11.38 kB / 1.09 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007213/0.7161, allocations: 313.1 kB / 1.091 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.7164, allocations: 0.7063 MB / 1.091 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.7165, allocations: 13.39 kB / 1.091 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.7165, allocations: 0.7812 kB / 1.091 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.004452/0.721, allocations: 2.145 MB / 1.094 GB, free: 10.98 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches