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.001352/0.001352, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.001828/0.001828, allocations: 199.2 kB / 22.17 MB, free: 5.211 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.441/1.441, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.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.846/2.846, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] 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.002094/0.002094, allocations: 67.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7715, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002912/0.7745, allocations: 1.523 MB / 1.276 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.776, allocations: 0.7378 MB / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.463e-05/0.776, allocations: 0 / 1.276 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.229e-05/0.776, allocations: 11.92 kB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.7761, allocations: 11.88 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006099/0.7767, allocations: 119.6 kB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.7768, allocations: 79.77 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.359e-05/0.7769, allocations: 15.94 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.091e-05/0.777, allocations: 35.86 kB / 1.277 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.632e-05/0.7771, allocations: 39.81 kB / 1.277 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.7771, allocations: 8 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.7774, allocations: 107.8 kB / 1.277 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.335e-05/0.7774, allocations: 19.92 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.7774, allocations: 35.84 kB / 1.277 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.7777, allocations: 138.2 kB / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.7777, allocations: 0 / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7777, allocations: 0 / 1.277 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.7777, allocations: 0 / 1.277 GB, free: 1.68 MB / 0.9669 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.0007564/0.7785, allocations: 416.8 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.7785, allocations: 12.03 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.076e-05/0.7786, allocations: 8.891 kB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.7787, allocations: 172.3 kB / 1.277 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.7788, allocations: 8.375 kB / 1.277 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.425e-05/0.7788, allocations: 8.312 kB / 1.277 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.779, allocations: 69.97 kB / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.779, allocations: 0 / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.779, allocations: 0 / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.779, allocations: 0 / 1.278 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.7792, allocations: 47.84 kB / 1.278 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006761/0.7798, allocations: 316.8 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.78, allocations: 46.5 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.754e-05/0.7801, allocations: 32.97 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.7801, allocations: 4 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.7803, allocations: 75.38 kB / 1.278 GB, free: 324 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.7803, allocations: 4 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.000441/0.7808, allocations: 133.5 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.7808, allocations: 55.41 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.781, allocations: 129.7 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.781, allocations: 37.7 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.781, allocations: 88.2 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.7811, allocations: 19.89 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/0.7811, allocations: 29.7 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7813, allocations: 318.8 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.7814, allocations: 23.98 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001064/0.7815, allocations: 58.92 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001771/0.7816, allocations: 74.48 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7817, allocations: 0 / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002557/0.7819, allocations: 109.6 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.7819, allocations: 4 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7819, allocations: 8.047 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7819, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.782, allocations: 12 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.7821, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.847e-05/0.7821, allocations: 11.92 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.806e-05/0.7821, allocations: 8 kB / 1.279 GB, free: 15.13 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.000109/0.7822, allocations: 125.7 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.7823, allocations: 11.94 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.7823, allocations: 16.36 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7823, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7823, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7823, allocations: 4 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004906/0.7828, allocations: 382.4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7828, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.7828, allocations: 4 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.7828, allocations: 0 / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.7829, allocations: 4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.7829, allocations: 3.984 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7829, allocations: 3.938 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002998/0.7832, allocations: 208 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.7832, allocations: 81.06 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.7832, allocations: 7.938 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/0.7833, allocations: 3.984 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.7834, allocations: 15.94 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.7834, allocations: 7.984 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.605e-05/0.7834, allocations: 91.27 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7834, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002983/0.7837, allocations: 39.88 kB / 1.28 GB, free: 14.04 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.0003805/0.7841, allocations: 157.7 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.7844, allocations: 75.88 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.7844, allocations: 0 / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.798e-05/0.7845, allocations: 31.98 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.7847, allocations: 4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.7852, allocations: 200.3 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.7855, allocations: 0.6885 MB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.545e-05/0.7856, allocations: 4 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.123e-05/0.7856, allocations: 7.438 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.7856, allocations: 7.875 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of Templates: time 0.004824/0.7904, allocations: 1.478 MB / 1.283 GB, free: 11.35 MB / 0.9825 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.812383338343352]