Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001838/0.001838, allocations: 113 kB / 17.6 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.001992/0.001992, allocations: 186.8 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.552/1.552, allocations: 225.6 MB / 249.4 MB, free: 3.297 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.973/2.973, allocations: 476.7 MB / 0.7629 GB, free: 15.16 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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.89 kB / 1.107 GB, free: 4.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.295/1.297, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003064/1.3, allocations: 1.524 MB / 1.273 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001438/1.301, allocations: 0.7385 MB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/1.301, allocations: 0.7812 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/1.301, allocations: 5.094 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/1.301, allocations: 18.77 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/1.302, allocations: 120.5 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/1.302, allocations: 76.8 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/1.302, allocations: 10.41 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/1.302, allocations: 38.03 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.171e-05/1.302, allocations: 37.36 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/1.302, allocations: 6.344 kB / 1.274 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/1.303, allocations: 106.5 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.005e-05/1.303, allocations: 22.73 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.12e-05/1.303, allocations: 34.47 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/1.303, allocations: 140.3 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.303, allocations: 0.9062 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.623e-06/1.303, allocations: 0 / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.201e-05/1.303, allocations: 0 / 1.275 GB, free: 6.102 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.0006949/1.304, allocations: 422.6 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/1.304, allocations: 9.875 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/1.304, allocations: 8.391 kB / 1.275 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.265e-05/1.304, allocations: 170 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/1.304, allocations: 7.188 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/1.304, allocations: 14.5 kB / 1.275 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/1.304, allocations: 74.66 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.304, allocations: 0.6562 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/1.304, allocations: 0.6875 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.304, allocations: 0.75 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/1.304, allocations: 37.28 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/1.305, allocations: 318.3 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001335/1.305, allocations: 47.22 kB / 1.276 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.248e-05/1.305, allocations: 29.22 kB / 1.276 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/1.305, allocations: 6.75 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002311/1.305, allocations: 80.58 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 2.194e-06/1.305, allocations: 3.984 kB / 1.276 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004312/1.306, allocations: 140.7 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/1.306, allocations: 55.34 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/1.306, allocations: 124.1 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/1.306, allocations: 30.83 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/1.306, allocations: 90.8 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/1.306, allocations: 18.52 kB / 1.276 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/1.306, allocations: 22.86 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.857e-05/1.306, allocations: 323.3 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.799e-05/1.306, allocations: 28.89 kB / 1.277 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/1.306, allocations: 45.94 kB / 1.277 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/1.306, allocations: 81.16 kB / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.306, allocations: 0 / 1.277 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002308/1.307, allocations: 115.9 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/1.307, allocations: 7.062 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/1.307, allocations: 3.938 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.307, allocations: 4.875 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/1.307, allocations: 10.28 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/1.307, allocations: 5.844 kB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/1.307, allocations: 8.203 kB / 1.277 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/1.307, allocations: 3.891 kB / 1.277 GB, free: 4.109 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.06e-05/1.307, allocations: 127.8 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/1.307, allocations: 10.45 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/1.307, allocations: 12.19 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.307, allocations: 4.969 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/1.307, allocations: 0 / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.307, allocations: 2.203 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004037/1.307, allocations: 377.6 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.307, allocations: 1.125 kB / 1.278 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.88e-05/1.308, allocations: 9.125 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.308, allocations: 1.219 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.308, allocations: 1.781 kB / 1.278 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/1.308, allocations: 4.812 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.308, allocations: 4.969 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/1.308, allocations: 211.6 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.202e-05/1.308, allocations: 78.89 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/1.308, allocations: 5.531 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.495e-05/1.308, allocations: 4.875 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/1.308, allocations: 13.31 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/1.308, allocations: 1.844 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.785e-05/1.308, allocations: 102.7 kB / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.308, allocations: 0 / 1.278 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003291/1.308, allocations: 38.17 kB / 1.278 GB, free: 3.25 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.0004037/1.309, allocations: 158.8 kB / 1.278 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002578/1.309, allocations: 67.67 kB / 1.278 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.309, allocations: 3.938 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/1.309, allocations: 30.41 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/1.309, allocations: 8.844 kB / 1.278 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/1.31, allocations: 205.3 kB / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/1.31, allocations: 0.6951 MB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.033e-05/1.31, allocations: 4.578 kB / 1.279 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/1.31, allocations: 16.95 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of SimCode: time 8.41e-07/1.31, allocations: 0 / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of Templates: time 0.005486/1.316, allocations: 1.461 MB / 1.281 GB, free: 2.086 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.767128335312009]