Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.002203/0.002203, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002291/0.002291, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.587/1.587, allocations: 230.6 MB / 256 MB, free: 7.988 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 3.037/3.037, allocations: 476.7 MB / 0.7706 GB, free: 4.461 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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") [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.002092/0.002092, allocations: 70.72 kB / 1.118 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3709/0.373, allocations: 170 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003462/0.3765, allocations: 1.538 MB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3782, allocations: 0.8158 MB / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.261e-05/0.3783, allocations: 0 / 1.286 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.98e-05/0.3783, allocations: 3.938 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.086e-05/0.3784, allocations: 15.86 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007236/0.3791, allocations: 147.5 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3792, allocations: 71.78 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3793, allocations: 16.11 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.3795, allocations: 47.84 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.571e-05/0.3796, allocations: 43.83 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3796, allocations: 8 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.3799, allocations: 143.8 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.38, allocations: 7.984 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.568e-05/0.38, allocations: 39.78 kB / 1.287 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.3804, allocations: 151.5 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3804, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3804, allocations: 0 / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.3804, allocations: 0 / 1.287 GB, free: 8.246 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.0007697/0.3811, allocations: 347.5 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.3812, allocations: 16.03 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/0.3816, allocations: 24.88 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.3818, allocations: 135.7 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.3819, allocations: 8.375 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.3819, allocations: 4.375 kB / 1.287 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002282/0.3821, allocations: 81.7 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3821, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.3822, allocations: 4 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.3822, allocations: 0 / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.3823, allocations: 39.91 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.383, allocations: 279.9 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.3831, allocations: 54.5 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.788e-05/0.3832, allocations: 28.95 kB / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.3832, allocations: 0 / 1.288 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.3834, allocations: 79.38 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.3834, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004554/0.3839, allocations: 137.6 kB / 1.288 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/0.3839, allocations: 67.34 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.384, allocations: 125.4 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.3841, allocations: 25.7 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.3842, allocations: 96.09 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.3842, allocations: 15.84 kB / 1.288 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-05/0.3842, allocations: 29.7 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3844, allocations: 322.8 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.759e-05/0.3845, allocations: 31.98 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.967e-05/0.3846, allocations: 46.55 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3848, allocations: 74.5 kB / 1.289 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3848, allocations: 3.938 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002505/0.385, allocations: 121.5 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.385, allocations: 6.5 kB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.385, allocations: 4 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3851, allocations: 0 / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.729e-05/0.3852, allocations: 11.98 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.3852, allocations: 0 / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.023e-05/0.3852, allocations: 7.984 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.3852, allocations: 4 kB / 1.289 GB, free: 5.852 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.0001117/0.3854, allocations: 125.8 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.3854, allocations: 11.89 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.3854, allocations: 12.38 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3854, allocations: 0 / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3854, allocations: 0 / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.3854, allocations: 3.984 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.3859, allocations: 345.5 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3859, allocations: 4 kB / 1.289 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.999e-05/0.3859, allocations: 11.92 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3859, allocations: 0 / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.386, allocations: 4 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.386, allocations: 3.938 kB / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.386, allocations: 0 / 1.289 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.3863, allocations: 215.5 kB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.393e-05/0.3863, allocations: 11.89 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.3863, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3864, allocations: 11.92 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.3865, allocations: 4 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.3865, allocations: 7.984 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.3865, allocations: 91.28 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3865, allocations: 0 / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003367/0.3869, allocations: 39.92 kB / 1.29 GB, free: 4.887 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,win.occ,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.0004211/0.3873, allocations: 165.4 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3875, allocations: 71.94 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3876, allocations: 0 / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.3877, allocations: 35.92 kB / 1.29 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.3879, allocations: 12 kB / 1.29 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.3884, allocations: 196.7 kB / 1.29 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.3888, allocations: 0.6885 MB / 1.291 GB, free: 3.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3888, allocations: 4 kB / 1.291 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.3888, allocations: 11.44 kB / 1.291 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.3888, allocations: 4 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of Templates: time 0.005131/0.394, allocations: 1.492 MB / 1.292 GB, free: 2.176 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.814836176112294]