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.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.001346/0.001346, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001356/0.001356, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.494/1.494, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.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.887/2.887, allocations: 476.7 MB / 0.7629 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 176] 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.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: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.89 kB / 1.107 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.111/1.113, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002799/1.116, allocations: 1.535 MB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001448/1.118, allocations: 0.7675 MB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.271e-05/1.118, allocations: 0 / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/1.118, allocations: 10.12 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.216e-05/1.118, allocations: 14.28 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005822/1.118, allocations: 138.7 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001554/1.118, allocations: 102.2 kB / 1.274 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/1.119, allocations: 18.56 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/1.119, allocations: 49.42 kB / 1.275 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/1.119, allocations: 53.12 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/1.119, allocations: 8.625 kB / 1.275 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002273/1.119, allocations: 110.8 kB / 1.275 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.08e-05/1.119, allocations: 24.17 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/1.119, allocations: 47.3 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/1.119, allocations: 156.4 kB / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.119, allocations: 0 / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.603e-06/1.119, allocations: 0 / 1.275 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.061e-06/1.119, allocations: 1.125 kB / 1.275 GB, free: 6.059 MB / 0.9981 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.0006485/1.12, allocations: 457 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.12, allocations: 8.906 kB / 1.275 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/1.12, allocations: 15.75 kB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.855e-05/1.12, allocations: 180.5 kB / 1.276 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/1.12, allocations: 8.734 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/1.12, allocations: 4.469 kB / 1.276 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/1.121, allocations: 85.2 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.121, allocations: 0 / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/1.121, allocations: 5.453 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/1.121, allocations: 0.9062 kB / 1.276 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/1.121, allocations: 49.89 kB / 1.276 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007395/1.121, allocations: 341.5 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/1.122, allocations: 50.22 kB / 1.276 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/1.122, allocations: 43.73 kB / 1.276 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/1.122, allocations: 5.844 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/1.122, allocations: 97.38 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/1.122, allocations: 0 / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005352/1.123, allocations: 181.6 kB / 1.276 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/1.123, allocations: 64.27 kB / 1.276 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/1.123, allocations: 129.4 kB / 1.277 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/1.123, allocations: 31.58 kB / 1.277 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/1.123, allocations: 92.39 kB / 1.277 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/1.123, allocations: 15.61 kB / 1.277 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/1.123, allocations: 30.38 kB / 1.277 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.015e-05/1.123, allocations: 328.7 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.225e-05/1.123, allocations: 38.48 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.184e-05/1.123, allocations: 65.5 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/1.123, allocations: 96.86 kB / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.123, allocations: 0 / 1.277 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002563/1.123, allocations: 130.4 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.123, allocations: 7.875 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.123, allocations: 1.562 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/1.124, allocations: 1.469 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001156/1.124, allocations: 18.5 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/1.124, allocations: 3.391 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.768e-05/1.124, allocations: 16.3 kB / 1.277 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/1.124, allocations: 6.766 kB / 1.277 GB, free: 3.93 MB / 0.9981 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 6.934e-05/1.124, allocations: 127 kB / 1.278 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/1.124, allocations: 8.656 kB / 1.278 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/1.124, allocations: 6.797 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/1.124, allocations: 0.9375 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.124, allocations: 1.031 kB / 1.278 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/1.124, allocations: 5.172 kB / 1.278 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005107/1.124, allocations: 426.9 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.124, allocations: 1.156 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/1.124, allocations: 3.031 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/1.124, allocations: 1 kB / 1.278 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/1.124, allocations: 7.891 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.124, allocations: 1.031 kB / 1.278 GB, free: 3.426 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.124, allocations: 7.922 kB / 1.278 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/1.125, allocations: 247 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/1.125, allocations: 83.09 kB / 1.278 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/1.125, allocations: 7.984 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/1.125, allocations: 3.75 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/1.125, allocations: 14.86 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/1.125, allocations: 6.562 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.248e-05/1.125, allocations: 95.23 kB / 1.278 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/1.125, allocations: 3.938 kB / 1.278 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003515/1.125, allocations: 44.78 kB / 1.278 GB, free: 3.039 MB / 0.9981 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.0003991/1.126, allocations: 161.1 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003061/1.126, allocations: 89.55 kB / 1.279 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.126, allocations: 1.031 kB / 1.279 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/1.126, allocations: 42.56 kB / 1.279 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/1.127, allocations: 14.7 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005517/1.127, allocations: 222.8 kB / 1.279 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/1.127, allocations: 0.6896 MB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.625e-05/1.127, allocations: 4.688 kB / 1.28 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/1.127, allocations: 17.25 kB / 1.28 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of SimCode: time 3.7e-07/1.127, allocations: 0 / 1.28 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of Templates: time 0.006136/1.134, allocations: 1.759 MB / 1.281 GB, free: 1.848 MB / 0.9981 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.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.588488491252065]