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.001513/0.001513, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.765/1.765, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.7 MB / 0.7452 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 65.97 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3166, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.003152/0.3198, allocations: 1.63 MB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3214, allocations: 0.7946 MB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.3215, allocations: 0 / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.297e-05/0.3216, allocations: 11.86 kB / 1.071 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.3218, allocations: 23.73 kB / 1.071 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.3226, allocations: 159.5 kB / 1.071 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3228, allocations: 151.5 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.323, allocations: 29.09 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3231, allocations: 67.77 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.3233, allocations: 75.7 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.766e-05/0.3233, allocations: 20 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002554/0.3236, allocations: 99.91 kB / 1.071 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.3236, allocations: 31.91 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.234e-05/0.3237, allocations: 67.69 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.3241, allocations: 203.7 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3241, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3241, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.3241, allocations: 0 / 1.071 GB, free: 7.027 MB / 0.8262 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.0009625/0.3251, allocations: 0.5407 MB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3251, allocations: 8.031 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.123e-05/0.3252, allocations: 16.75 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.3254, allocations: 186.2 kB / 1.072 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.3254, allocations: 4.375 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.3255, allocations: 8.375 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.3259, allocations: 145.8 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.326, allocations: 0 / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.326, allocations: 3.984 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.326, allocations: 8 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000409/0.3264, allocations: 99.84 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007792/0.3272, allocations: 388.5 kB / 1.073 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003635/0.3276, allocations: 98.5 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.3279, allocations: 88.72 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3279, allocations: 8.25 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004601/0.3284, allocations: 139.2 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/0.3284, allocations: 0 / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001182/0.3296, allocations: 309.2 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.3297, allocations: 55.39 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.3298, allocations: 153.2 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.3299, allocations: 33.7 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.3299, allocations: 100.4 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.33, allocations: 19.64 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.33, allocations: 33.7 kB / 1.074 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.3302, allocations: 330.8 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3303, allocations: 39.95 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.3305, allocations: 88.44 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.3307, allocations: 121 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3307, allocations: 0 / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003503/0.3311, allocations: 157.4 kB / 1.075 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3311, allocations: 4 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.3311, allocations: 8.125 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3312, allocations: 0 / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3313, allocations: 27.92 kB / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3313, allocations: 0 / 1.075 GB, free: 3.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.3315, allocations: 15.89 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.3315, allocations: 4 kB / 1.075 GB, free: 3.559 MB / 0.8262 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.0001404/0.3316, allocations: 131.3 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.3317, allocations: 11.91 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.3317, allocations: 12.72 kB / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3317, allocations: 0 / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3317, allocations: 0 / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3317, allocations: 0 / 1.075 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.3328, allocations: 0.5371 MB / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3328, allocations: 0 / 1.075 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-05/0.3329, allocations: 12.45 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3329, allocations: 4 kB / 1.075 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.333, allocations: 3.984 kB / 1.075 GB, free: 2.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.333, allocations: 3.938 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.333, allocations: 0 / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008806/0.3339, allocations: 331.2 kB / 1.076 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.285e-05/0.3339, allocations: 96.95 kB / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.334, allocations: 0 / 1.076 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3342, allocations: 27.91 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3343, allocations: 11.98 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.3343, allocations: 7.984 kB / 1.076 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.969e-05/0.3344, allocations: 103.3 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3344, allocations: 0 / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000371/0.3348, allocations: 47.98 kB / 1.076 GB, free: 2.129 MB / 0.8262 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.0004337/0.3352, allocations: 164.2 kB / 1.076 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005799/0.3358, allocations: 147.8 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3359, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003502/0.3362, allocations: 91.86 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.3365, allocations: 12.8 kB / 1.076 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007476/0.3373, allocations: 271.9 kB / 1.077 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/0.3376, allocations: 0.7002 MB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.661e-05/0.3376, allocations: 4 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.3377, allocations: 15.42 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3377, allocations: 0 / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of Templates: time 0.005629/0.3433, allocations: 2.012 MB / 1.079 GB, free: 14.69 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=480 -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/jenkins/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