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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001039/0.001039, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008602/0.008602, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 462.6 MB / 0.7363 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004062, allocations: 8.688 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3667, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001999/0.3687, allocations: 1.353 MB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.3704, allocations: 0.7907 MB / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.738e-05/0.3705, allocations: 0 / 1.061 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.319e-05/0.3706, allocations: 3.938 kB / 1.061 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.3707, allocations: 23.78 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/0.3715, allocations: 127.7 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.3717, allocations: 147.5 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.3718, allocations: 21.11 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.372, allocations: 55.83 kB / 1.061 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.3721, allocations: 67.72 kB / 1.061 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.3721, allocations: 8 kB / 1.061 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000248/0.3724, allocations: 99.84 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.3725, allocations: 27.89 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.3726, allocations: 77.42 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.3729, allocations: 199.7 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3729, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.285e-06/0.3729, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.3729, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 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.000829/0.3738, allocations: 0.5252 MB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3738, allocations: 15.97 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.3739, allocations: 12.84 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.374, allocations: 184.1 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.401e-05/0.3741, allocations: 8.312 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.3741, allocations: 12.36 kB / 1.062 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005/0.3746, allocations: 153.9 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3746, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.3746, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.3747, allocations: 4 kB / 1.062 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004819/0.3752, allocations: 131.9 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000832/0.376, allocations: 396.5 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000393/0.3764, allocations: 110.5 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.3768, allocations: 104.8 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.3768, allocations: 8.203 kB / 1.063 GB, free: 180 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.3773, allocations: 167.1 kB / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.3773, allocations: 0 / 1.063 GB, free: 0 / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.001247/0.3785, allocations: 353.3 kB / 1.064 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.3786, allocations: 55.41 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3787, allocations: 150.7 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.3788, allocations: 29.7 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.3788, allocations: 104.4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.3789, allocations: 19.66 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.3789, allocations: 25.7 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.379, allocations: 322.8 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.3792, allocations: 51.97 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.3793, allocations: 88 kB / 1.064 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3797, allocations: 141 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3797, allocations: 0 / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000391/0.3801, allocations: 169.4 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3801, allocations: 9.344 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3801, allocations: 0 / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3801, allocations: 4 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3803, allocations: 23.97 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3803, allocations: 8.125 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.3804, allocations: 11.91 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3805, allocations: 11.98 kB / 1.065 GB, free: 14.36 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.0001023/0.3806, allocations: 125.7 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.3806, allocations: 11.98 kB / 1.065 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.3806, allocations: 12.72 kB / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3806, allocations: 0 / 1.065 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3807, allocations: 7.984 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3807, allocations: 384 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.3817, allocations: 0.5645 MB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3818, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.3819, allocations: 15.98 kB / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.3819, allocations: 0 / 1.066 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3819, allocations: 7.984 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3819, allocations: 3.938 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3819, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008414/0.3827, allocations: 363.2 kB / 1.066 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3828, allocations: 84.95 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.3828, allocations: 4 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.3831, allocations: 39.91 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3831, allocations: 7.984 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.3832, allocations: 3.984 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.783e-05/0.3832, allocations: 111.2 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3833, allocations: 3.938 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003429/0.3836, allocations: 44 kB / 1.066 GB, free: 12.87 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.0003669/0.384, allocations: 167.3 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005837/0.3846, allocations: 159.8 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3846, allocations: 4.25 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.385, allocations: 115.8 kB / 1.067 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.3853, allocations: 12 kB / 1.067 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.386, allocations: 309 kB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.3862, allocations: 0.7004 MB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.927e-05/0.3863, allocations: 12.17 kB / 1.068 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.3863, allocations: 11.44 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.306e-06/0.3864, allocations: 3.938 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.0049/0.3913, allocations: 1.856 MB / 1.069 GB, free: 9.5 MB / 0.8262 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