Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_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_9_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.0009518/0.0009519, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001126/0.001126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.633/2.633, allocations: 390.9 MB / 0.666 GB, free: 2.484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7769, allocations: 142.4 MB / 0.9544 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.00198/0.7789, allocations: 1.32 MB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001384/0.7803, allocations: 0.7467 MB / 0.9565 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.7804, allocations: 0 / 0.9565 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.7805, allocations: 5.094 kB / 0.9565 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.7806, allocations: 21.91 kB / 0.9565 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006894/0.7813, allocations: 116.1 kB / 0.9566 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.7815, allocations: 131.4 kB / 0.9567 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.7816, allocations: 26.39 kB / 0.9567 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.7818, allocations: 58.77 kB / 0.9568 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.7819, allocations: 70.69 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.878e-05/0.782, allocations: 5.688 kB / 0.9569 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002258/0.7822, allocations: 85.17 kB / 0.9569 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.674e-05/0.7822, allocations: 24.52 kB / 0.957 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.7823, allocations: 51.23 kB / 0.957 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002375/0.7825, allocations: 151.8 kB / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7826, allocations: 0 / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7826, allocations: 0 / 0.9572 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7826, allocations: 0 / 0.9572 GB, free: 5.664 MB / 0.7169 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.0008919/0.7835, allocations: 0.5228 MB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.7835, allocations: 13.3 kB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.276e-05/0.7836, allocations: 17.8 kB / 0.9577 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.7837, allocations: 181.8 kB / 0.9579 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/0.7838, allocations: 7.375 kB / 0.9579 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.7838, allocations: 4.469 kB / 0.9579 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.7842, allocations: 160.6 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.7842, allocations: 0 / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.7843, allocations: 1.969 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.7843, allocations: 4.984 kB / 0.9581 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003752/0.7847, allocations: 130.8 kB / 0.9582 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007089/0.7854, allocations: 394 kB / 0.9586 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.7857, allocations: 112.3 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.786, allocations: 105.2 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.786, allocations: 1.375 kB / 0.9588 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.7864, allocations: 166.3 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.7864, allocations: 1.375 kB / 0.9589 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.000999/0.7874, allocations: 347.3 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.7875, allocations: 53.69 kB / 0.9593 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.7876, allocations: 152 kB / 0.9594 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.7876, allocations: 30.86 kB / 0.9595 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.7876, allocations: 104.5 kB / 0.9596 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.7877, allocations: 22.94 kB / 0.9596 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.7877, allocations: 1.375 kB / 0.9596 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.7878, allocations: 322.1 kB / 0.9599 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.7879, allocations: 49.03 kB / 0.96 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.788, allocations: 81.06 kB / 0.96 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.7882, allocations: 64.44 kB / 0.9601 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7882, allocations: 0.9062 kB / 0.9601 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003511/0.7886, allocations: 171.4 kB / 0.9603 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.292e-05/0.7886, allocations: 9.953 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.7886, allocations: 1.125 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.7886, allocations: 2.406 kB / 0.9603 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.7888, allocations: 29.98 kB / 0.9603 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.7888, allocations: 5.312 kB / 0.9603 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.7889, allocations: 22.83 kB / 0.9603 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.789, allocations: 4.125 kB / 0.9603 GB, free: 3.051 MB / 0.7169 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,win.occ,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.585e-05/0.7891, allocations: 120.7 kB / 0.9604 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.152e-05/0.7891, allocations: 8.031 kB / 0.9605 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.7891, allocations: 23.41 kB / 0.9605 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7891, allocations: 1.375 kB / 0.9605 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7891, allocations: 0 / 0.9605 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7891, allocations: 1.375 kB / 0.9605 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.79, allocations: 0.5518 MB / 0.961 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.79, allocations: 3.938 kB / 0.961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.7901, allocations: 24.16 kB / 0.961 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.7901, allocations: 0 / 0.961 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.7901, allocations: 5.984 kB / 0.961 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.7901, allocations: 4 kB / 0.9611 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7901, allocations: 1.031 kB / 0.9611 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.7908, allocations: 360.7 kB / 0.9614 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.978e-05/0.7909, allocations: 87.78 kB / 0.9615 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.7909, allocations: 9.578 kB / 0.9615 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.7911, allocations: 27.75 kB / 0.9615 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.7912, allocations: 11.58 kB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.7912, allocations: 3.094 kB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.814e-05/0.7913, allocations: 110.3 kB / 0.9616 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7913, allocations: 7.938 kB / 0.9616 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003439/0.7916, allocations: 52.08 kB / 0.9617 GB, free: 1.953 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003508/0.792, allocations: 162.8 kB / 0.9618 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004988/0.7925, allocations: 167.2 kB / 0.962 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7925, allocations: 0 / 0.962 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.7928, allocations: 106.3 kB / 0.9621 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.7931, allocations: 7.828 kB / 0.9621 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.7937, allocations: 304.3 kB / 0.9624 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.7939, allocations: 0.7035 MB / 0.9631 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.66e-05/0.794, allocations: 12.45 kB / 0.9631 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.794, allocations: 10.44 kB / 0.9631 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.794, allocations: 1 kB / 0.9631 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of Templates: time 0.004771/0.7988, allocations: 1.813 MB / 0.9649 GB, free: 15.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Rijal2007WindowsTInTOutTComf.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches