Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.001996/0.001996, 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.003539/0.003539, allocations: 212.1 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 7.781 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.083/3.083, allocations: 476 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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") [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.002135/0.002135, allocations: 69.98 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4137/0.4159, allocations: 170 MB / 1.283 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.003562/0.4194, allocations: 1.528 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.4212, allocations: 0.773 MB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.383e-05/0.4212, allocations: 4 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.634e-05/0.4213, allocations: 7.875 kB / 1.285 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.718e-05/0.4213, allocations: 15.84 kB / 1.285 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006671/0.422, allocations: 163.5 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.4221, allocations: 107.7 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.816e-05/0.4222, allocations: 8 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.4224, allocations: 51.89 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.4225, allocations: 51.8 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.4225, allocations: 8 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/0.4228, allocations: 139.8 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.06e-05/0.4229, allocations: 31.89 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.4229, allocations: 31.86 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.4232, allocations: 171.5 kB / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4232, allocations: 0 / 1.286 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.846e-06/0.4232, allocations: 7.938 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.4232, allocations: 0 / 1.286 GB, free: 8.879 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007706/0.424, allocations: 393.2 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.424, allocations: 11.97 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/0.4245, allocations: 44.84 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4248, allocations: 138.4 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4248, allocations: 4.375 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4248, allocations: 4.375 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.4251, allocations: 93.94 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.4251, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4251, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.4251, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001742/0.4253, allocations: 47.91 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007123/0.426, allocations: 272.4 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.4262, allocations: 62.5 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.4263, allocations: 48.77 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.4263, allocations: 0 / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002242/0.4266, allocations: 91.36 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.4266, allocations: 0 / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005675/0.4271, allocations: 185.6 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.4272, allocations: 67.47 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.4273, allocations: 124.8 kB / 1.288 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.4274, allocations: 29.7 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/0.4274, allocations: 96.08 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.4275, allocations: 19.84 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/0.4275, allocations: 33.7 kB / 1.288 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002112/0.4277, allocations: 318.8 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.4278, allocations: 35.92 kB / 1.288 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.428, allocations: 66.27 kB / 1.288 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/0.4282, allocations: 96.14 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.4282, allocations: 0 / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002657/0.4284, allocations: 129.5 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4285, allocations: 8.031 kB / 1.288 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.4285, allocations: 4 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.4285, allocations: 0 / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4286, allocations: 15.98 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4286, allocations: 0 / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.725e-05/0.4287, allocations: 15.94 kB / 1.288 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4287, allocations: 4.062 kB / 1.288 GB, free: 6.258 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,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.0001147/0.4288, allocations: 125.7 kB / 1.288 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.4288, allocations: 15.95 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.4289, allocations: 12.36 kB / 1.289 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.4289, allocations: 4 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4289, allocations: 0 / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.4289, allocations: 0 / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.4295, allocations: 374 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.4295, allocations: 3.984 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.4295, allocations: 4 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4295, allocations: 0 / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4296, allocations: 4 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.4296, allocations: 3.984 kB / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4296, allocations: 48 / 1.289 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004228/0.43, allocations: 263.4 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.43, allocations: 3.953 kB / 1.289 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.43, allocations: 4 kB / 1.289 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.4301, allocations: 11.92 kB / 1.289 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.4302, allocations: 4 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.4302, allocations: 11.92 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.864e-05/0.4303, allocations: 99.27 kB / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4303, allocations: 0 / 1.289 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000313/0.4306, allocations: 43.88 kB / 1.289 GB, free: 5.223 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004058/0.431, allocations: 174 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003019/0.4313, allocations: 88.36 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4313, allocations: 0 / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.4314, allocations: 43.95 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.4317, allocations: 16.08 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.4322, allocations: 196.6 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.4324, allocations: 79.52 kB / 1.29 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.4324, allocations: 7.984 kB / 1.29 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.4324, allocations: 11.44 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.4324, allocations: 0 / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of Templates: time 0.005364/0.4378, allocations: 1.818 MB / 1.292 GB, free: 2.789 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.pOpen,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.7203876581043]