Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0019/0.0019, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002201/0.002201, allocations: 186 kB / 20.78 MB, free: 1.543 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.515/1.515, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.832/2.832, allocations: 476.7 MB / 0.7629 GB, free: 15.2 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 67.91 kB / 1.107 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.215/1.217, allocations: 168.7 MB / 1.272 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003116/1.22, allocations: 1.524 MB / 1.273 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001553/1.221, allocations: 0.7429 MB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/1.221, allocations: 4.844 kB / 1.274 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.499e-05/1.221, allocations: 8.688 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.249e-05/1.222, allocations: 9.656 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/1.222, allocations: 126.2 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001714/1.222, allocations: 76.11 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/1.222, allocations: 11.69 kB / 1.274 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/1.223, allocations: 35.59 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.04e-05/1.223, allocations: 35.48 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/1.223, allocations: 6.469 kB / 1.274 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/1.223, allocations: 108 kB / 1.275 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/1.223, allocations: 23.7 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/1.223, allocations: 30.3 kB / 1.275 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003033/1.223, allocations: 142.3 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/1.223, allocations: 0 / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.724e-06/1.223, allocations: 0 / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.255e-05/1.223, allocations: 0.9062 kB / 1.275 GB, free: 6.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007177/1.224, allocations: 417.7 kB / 1.275 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/1.224, allocations: 13.16 kB / 1.275 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.574e-05/1.224, allocations: 15.3 kB / 1.275 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/1.224, allocations: 167.5 kB / 1.275 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/1.224, allocations: 7.594 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/1.224, allocations: 4.406 kB / 1.275 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/1.225, allocations: 68.77 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.225, allocations: 0.7812 kB / 1.275 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/1.225, allocations: 4 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.225, allocations: 1.656 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/1.225, allocations: 49.83 kB / 1.275 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/1.225, allocations: 312.5 kB / 1.276 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/1.226, allocations: 45.12 kB / 1.276 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.026e-05/1.226, allocations: 28.67 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/1.226, allocations: 4.906 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/1.226, allocations: 85.48 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/1.226, allocations: 0 / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005026/1.226, allocations: 134.2 kB / 1.276 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/1.227, allocations: 53 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/1.227, allocations: 131.9 kB / 1.276 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/1.227, allocations: 30.86 kB / 1.276 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.734e-05/1.227, allocations: 90.06 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/1.227, allocations: 14.81 kB / 1.276 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/1.227, allocations: 28.95 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.084e-05/1.227, allocations: 323.5 kB / 1.277 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/1.227, allocations: 23.33 kB / 1.277 GB, free: 4.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.163e-05/1.227, allocations: 59.64 kB / 1.277 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/1.227, allocations: 66.75 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.227, allocations: 0.9375 kB / 1.277 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/1.227, allocations: 116.7 kB / 1.277 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.227, allocations: 9.594 kB / 1.277 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/1.227, allocations: 5.234 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/1.228, allocations: 3.188 kB / 1.277 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.228, allocations: 13.83 kB / 1.277 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/1.228, allocations: 5.031 kB / 1.277 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/1.228, allocations: 18.42 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/1.228, allocations: 8.359 kB / 1.277 GB, free: 4.117 MB / 0.9981 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 8.068e-05/1.228, allocations: 118.7 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.718e-05/1.228, allocations: 11.42 kB / 1.277 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/1.228, allocations: 10.83 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.228, allocations: 1.062 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.228, allocations: 0.9844 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.228, allocations: 1.062 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/1.228, allocations: 378.2 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.228, allocations: 0 / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.047e-05/1.228, allocations: 8.531 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.228, allocations: 4.844 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.228, allocations: 0.7812 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.228, allocations: 1.094 kB / 1.278 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.228, allocations: 3.938 kB / 1.278 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/1.229, allocations: 216.1 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/1.229, allocations: 79.05 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/1.229, allocations: 1.094 kB / 1.278 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/1.229, allocations: 7.844 kB / 1.278 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.121e-05/1.229, allocations: 13.58 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/1.229, allocations: 2.578 kB / 1.278 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.632e-05/1.229, allocations: 93.86 kB / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.229, allocations: 0 / 1.278 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003129/1.229, allocations: 36.34 kB / 1.278 GB, free: 3.273 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: 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.0003921/1.23, allocations: 165.1 kB / 1.278 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002532/1.23, allocations: 70.94 kB / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.23, allocations: 0 / 1.278 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/1.23, allocations: 30.19 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/1.23, allocations: 6.328 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/1.231, allocations: 206.8 kB / 1.278 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001602/1.231, allocations: 0.688 MB / 1.279 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.986e-05/1.231, allocations: 7.203 kB / 1.279 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/1.231, allocations: 11.47 kB / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/1.231, allocations: 0 / 1.279 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of Templates: time 0.005489/1.236, allocations: 1.479 MB / 1.281 GB, free: 2.102 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.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.5754308514297]