Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_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_10_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.001012/0.001012, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006341/0.006341, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.865/2.865, allocations: 437.8 MB / 0.7121 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004035/0.0004039, allocations: 12 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7737/0.7741, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001758/0.7759, allocations: 1.351 MB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.7772, allocations: 0.7754 MB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.7773, allocations: 0 / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.7773, allocations: 11.92 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.357e-05/0.7774, allocations: 27.72 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.7779, allocations: 123.7 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.778, allocations: 147.5 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.7781, allocations: 25.11 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.7782, allocations: 59.81 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.7784, allocations: 67.73 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.7784, allocations: 11.98 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.7786, allocations: 87.86 kB / 1.026 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.7786, allocations: 31.88 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.7787, allocations: 81.42 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.779, allocations: 201.4 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.779, allocations: 4 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.834e-06/0.779, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.779, allocations: 0 / 1.026 GB, free: 12.82 MB / 0.7794 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.0007469/0.7797, allocations: 0.5213 MB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7798, allocations: 12.03 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.7798, allocations: 12.84 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.78, allocations: 195.9 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.78, allocations: 4.375 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.7801, allocations: 8.375 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004725/0.7805, allocations: 157.9 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7805, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.7806, allocations: 4 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.7806, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.781, allocations: 123.9 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.7818, allocations: 388.5 kB / 1.027 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.7822, allocations: 118.5 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.7826, allocations: 100.8 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.7826, allocations: 4 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.7831, allocations: 163.3 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.954e-06/0.7831, allocations: 3.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001218/0.7843, allocations: 357.5 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.7844, allocations: 55.55 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.7845, allocations: 149.5 kB / 1.028 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.7846, allocations: 29.7 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.7846, allocations: 108.3 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.7847, allocations: 19.66 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.7847, allocations: 21.7 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7848, allocations: 326.8 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.785, allocations: 55.97 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.7852, allocations: 80.75 kB / 1.029 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.7855, allocations: 145 kB / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7855, allocations: 0 / 1.029 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003798/0.7859, allocations: 169.5 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.7859, allocations: 8 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.7859, allocations: 0 / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.7859, allocations: 4 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.7861, allocations: 19.98 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.477e-06/0.7861, allocations: 7.984 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.7862, allocations: 19.84 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.7862, allocations: 8.062 kB / 1.029 GB, free: 9.195 MB / 0.7794 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.0001094/0.7864, allocations: 134.2 kB / 1.029 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.7864, allocations: 7.906 kB / 1.029 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.307e-05/0.7864, allocations: 12.81 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7864, allocations: 3.984 kB / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.7864, allocations: 0 / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.7864, allocations: 0 / 1.029 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7875, allocations: 0.549 MB / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7875, allocations: 0 / 1.03 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7876, allocations: 19.98 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.7876, allocations: 4 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.7877, allocations: 11.98 kB / 1.03 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.7877, allocations: 3.938 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.7877, allocations: 0 / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008114/0.7885, allocations: 367.2 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.7885, allocations: 81.02 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.7886, allocations: 11.94 kB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.7888, allocations: 35.91 kB / 1.03 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.7889, allocations: 7.984 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.7889, allocations: 7.922 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.194e-05/0.789, allocations: 112.3 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.789, allocations: 0 / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003464/0.7893, allocations: 51.92 kB / 1.031 GB, free: 7.691 MB / 0.7794 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.0003945/0.7897, allocations: 150.5 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005634/0.7903, allocations: 163.8 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.7903, allocations: 0 / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003542/0.7907, allocations: 112.1 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.791, allocations: 11.98 kB / 1.031 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/0.7917, allocations: 310.1 kB / 1.031 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.792, allocations: 0.7004 MB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.031e-05/0.7921, allocations: 12.16 kB / 1.032 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.897e-05/0.7921, allocations: 11.44 kB / 1.032 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of SimCode: time 3.6e-07/0.7921, allocations: 4 kB / 1.032 GB, free: 6.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.004813/0.7969, allocations: 1.849 MB / 1.034 GB, free: 4.344 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches