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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 213.9 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.946/2.946, allocations: 475.9 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 70.66 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3763, allocations: 169.9 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003121/0.3795, allocations: 1.52 MB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3811, allocations: 0.7613 MB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.3812, allocations: 0 / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.038e-05/0.3812, allocations: 3.938 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.3813, allocations: 11.86 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006753/0.3819, allocations: 143.5 kB / 1.285 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3821, allocations: 75.78 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3822, allocations: 16.11 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001613/0.3823, allocations: 47.84 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.861e-05/0.3824, allocations: 43.81 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3825, allocations: 4 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003045/0.3828, allocations: 139.8 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.769e-05/0.3828, allocations: 11.98 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.3828, allocations: 31.84 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3831, allocations: 147.5 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3831, allocations: 0 / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.3831, allocations: 4 kB / 1.286 GB, free: 9.055 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.0007188/0.3839, allocations: 359.5 kB / 1.286 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3839, allocations: 8.031 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.3842, allocations: 28.91 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002692/0.3845, allocations: 134.3 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3845, allocations: 4.359 kB / 1.286 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.3846, allocations: 12.36 kB / 1.286 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.3848, allocations: 73.77 kB / 1.286 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3848, allocations: 3.938 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3848, allocations: 8 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.3848, allocations: 4 kB / 1.286 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.3849, allocations: 35.97 kB / 1.287 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006008/0.3855, allocations: 244.5 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.3857, allocations: 46.5 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/0.3858, allocations: 28.97 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.3858, allocations: 0 / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001869/0.386, allocations: 79.38 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.386, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004883/0.3865, allocations: 149.6 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.3866, allocations: 55.41 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.3867, allocations: 123.5 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3868, allocations: 29.69 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.3869, allocations: 92.09 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3869, allocations: 15.84 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.387, allocations: 37.7 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3872, allocations: 322.8 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.3873, allocations: 23.98 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.3874, allocations: 51.41 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.3876, allocations: 87.3 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3876, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002987/0.3879, allocations: 121.5 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.3879, allocations: 4 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3879, allocations: 0 / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.3879, allocations: 4 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.388, allocations: 15.98 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.3881, allocations: 0 / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.3881, allocations: 4 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.3881, allocations: 4 kB / 1.288 GB, free: 6.684 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.0001679/0.3883, allocations: 129.8 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.3883, allocations: 7.938 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.3884, allocations: 12.38 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3884, allocations: 0 / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006152/0.389, allocations: 322.1 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.389, allocations: 0 / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.405e-05/0.3891, allocations: 12.05 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3891, allocations: 0 / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.3891, allocations: 8 kB / 1.288 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3891, allocations: 3.938 kB / 1.288 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3891, allocations: 7.938 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3894, allocations: 207.8 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.3895, allocations: 23.86 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3895, allocations: 0 / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.51e-05/0.3896, allocations: 4 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.3896, allocations: 3.984 kB / 1.289 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3896, allocations: 7.938 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.705e-05/0.3897, allocations: 102.1 kB / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3897, allocations: 0 / 1.289 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000376/0.3901, allocations: 39.92 kB / 1.289 GB, free: 5.746 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.0005553/0.3907, allocations: 168.1 kB / 1.289 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.391, allocations: 68.03 kB / 1.289 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.391, allocations: 4 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001122/0.3911, allocations: 35.89 kB / 1.289 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3914, allocations: 10.5 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.392, allocations: 184.8 kB / 1.289 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.3921, allocations: 75.22 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.463e-05/0.3921, allocations: 15.92 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.3922, allocations: 15.44 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3922, allocations: 0 / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of Templates: time 0.005805/0.398, allocations: 1.511 MB / 1.291 GB, free: 3.652 MB / 0.9825 GB " [Timeout remaining time 299] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.continuous,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: 9.513849655166268]