Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 198.8 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 64 kB / 1.109 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.3721, allocations: 168.7 MB / 1.274 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.002882/0.3749, allocations: 1.525 MB / 1.276 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001399/0.3763, allocations: 0.7374 MB / 1.276 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.3764, allocations: 0 / 1.276 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.482e-05/0.3764, allocations: 7.875 kB / 1.276 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.662e-05/0.3765, allocations: 15.86 kB / 1.276 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.377, allocations: 123.6 kB / 1.276 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.3772, allocations: 79.81 kB / 1.276 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.3773, allocations: 11.95 kB / 1.276 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.3774, allocations: 35.91 kB / 1.277 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3774, allocations: 39.83 kB / 1.277 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.3774, allocations: 4 kB / 1.277 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002177/0.3777, allocations: 107.8 kB / 1.277 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.061e-05/0.3777, allocations: 19.92 kB / 1.277 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.893e-05/0.3777, allocations: 31.84 kB / 1.277 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.378, allocations: 147.5 kB / 1.277 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.378, allocations: 0 / 1.277 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.813e-06/0.378, allocations: 0 / 1.277 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.378, allocations: 3.938 kB / 1.277 GB, free: 8.359 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007013/0.3787, allocations: 420.8 kB / 1.277 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.3788, allocations: 8.031 kB / 1.277 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3788, allocations: 8.891 kB / 1.277 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3789, allocations: 176.2 kB / 1.277 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.379, allocations: 384 / 1.277 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.379, allocations: 12.38 kB / 1.277 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.3792, allocations: 69.97 kB / 1.278 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3792, allocations: 3.938 kB / 1.278 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.74e-05/0.3792, allocations: 7.922 kB / 1.278 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3792, allocations: 0 / 1.278 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.3794, allocations: 39.92 kB / 1.278 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.38, allocations: 320.8 kB / 1.278 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.3802, allocations: 42.56 kB / 1.278 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.395e-05/0.3802, allocations: 32.97 kB / 1.278 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.3803, allocations: 0 / 1.278 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.3805, allocations: 83.31 kB / 1.278 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.3805, allocations: 0 / 1.278 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004288/0.3809, allocations: 133.6 kB / 1.278 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.381, allocations: 55.41 kB / 1.278 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.3811, allocations: 125.8 kB / 1.278 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3811, allocations: 29.7 kB / 1.278 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.922e-05/0.3812, allocations: 92.2 kB / 1.278 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.3812, allocations: 19.83 kB / 1.278 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3812, allocations: 29.7 kB / 1.278 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3814, allocations: 326.8 kB / 1.279 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.293e-05/0.3815, allocations: 23.98 kB / 1.279 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.3816, allocations: 59.34 kB / 1.279 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.3818, allocations: 83.41 kB / 1.279 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3818, allocations: 3.938 kB / 1.279 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002507/0.382, allocations: 113.6 kB / 1.279 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.382, allocations: 5.562 kB / 1.279 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.382, allocations: 7.984 kB / 1.279 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.382, allocations: 0 / 1.279 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.3821, allocations: 19.98 kB / 1.279 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.3822, allocations: 0 / 1.279 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.3822, allocations: 12 kB / 1.279 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.3822, allocations: 3.984 kB / 1.279 GB, free: 5.785 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001061/0.3823, allocations: 125.7 kB / 1.279 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.3824, allocations: 3.953 kB / 1.279 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3824, allocations: 12.38 kB / 1.279 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3824, allocations: 0 / 1.279 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3824, allocations: 4 kB / 1.279 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3824, allocations: 0 / 1.279 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.3829, allocations: 386.3 kB / 1.28 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3829, allocations: 0 / 1.28 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.3829, allocations: 7.984 kB / 1.28 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3829, allocations: 4 kB / 1.28 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.383, allocations: 0 / 1.28 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.383, allocations: 0 / 1.28 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.383, allocations: 7.938 kB / 1.28 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.3833, allocations: 211.8 kB / 1.28 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.3833, allocations: 81.06 kB / 1.28 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.3834, allocations: 0 / 1.28 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.78e-05/0.3834, allocations: 4 kB / 1.28 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.3835, allocations: 19.86 kB / 1.28 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.395e-06/0.3835, allocations: 64 / 1.28 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.658e-05/0.3836, allocations: 99.27 kB / 1.28 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3836, allocations: 0 / 1.28 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003247/0.3839, allocations: 39.92 kB / 1.28 GB, free: 4.695 MB / 0.9825 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,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004198/0.3843, allocations: 163.6 kB / 1.28 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3846, allocations: 71.91 kB / 1.28 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3846, allocations: 0 / 1.28 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.94e-05/0.3847, allocations: 35.97 kB / 1.28 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.385, allocations: 0 / 1.28 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.3854, allocations: 208 kB / 1.281 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3857, allocations: 0.6886 MB / 1.281 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.085e-05/0.3858, allocations: 16 kB / 1.281 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.3858, allocations: 11.44 kB / 1.281 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3858, allocations: 0 / 1.281 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of Templates: time 0.004776/0.3906, allocations: 1.47 MB / 1.283 GB, free: 2 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 8.649809688795358]