Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001395/0.001395, allocations: 111.3 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.001435/0.001435, 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.513/1.513, allocations: 225.6 MB / 249.4 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.019/3.019, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 63.89 kB / 1.136 GB, free: 12.44 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178/1.181, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002924/1.184, allocations: 1.524 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00139/1.185, allocations: 0.7401 MB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.887e-05/1.185, allocations: 7.031 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.617e-05/1.185, allocations: 3.938 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.866e-05/1.185, allocations: 15.23 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/1.186, allocations: 120.3 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/1.186, allocations: 78.06 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/1.186, allocations: 6.109 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.452e-05/1.186, allocations: 37.3 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/1.186, allocations: 45.41 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/1.186, allocations: 5.812 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/1.186, allocations: 107.6 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.513e-05/1.186, allocations: 18.3 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.275e-05/1.186, allocations: 28.77 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002403/1.187, allocations: 145.7 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.187, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.234e-06/1.187, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.012e-06/1.187, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 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.0006799/1.187, allocations: 429 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/1.187, allocations: 8.812 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/1.187, allocations: 7.828 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/1.187, allocations: 174.4 kB / 1.309 GB, free: 30.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/1.187, allocations: 7.25 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/1.187, allocations: 10.09 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/1.188, allocations: 72.75 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.188, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/1.188, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/1.188, allocations: 2.938 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/1.188, allocations: 38.83 kB / 1.309 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/1.188, allocations: 314 kB / 1.309 GB, free: 30.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/1.188, allocations: 50.08 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.007e-05/1.189, allocations: 35.8 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.189, allocations: 2.781 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/1.189, allocations: 73.91 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/1.189, allocations: 0 / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003912/1.189, allocations: 145 kB / 1.31 GB, free: 30.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/1.189, allocations: 55.41 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/1.189, allocations: 125.8 kB / 1.31 GB, free: 30.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/1.189, allocations: 25.7 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/1.189, allocations: 91.05 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/1.189, allocations: 14.2 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/1.189, allocations: 30.08 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.492e-05/1.189, allocations: 318.8 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-05/1.19, allocations: 35.88 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/1.19, allocations: 50.22 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/1.19, allocations: 74.92 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.19, allocations: 2.938 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002045/1.19, allocations: 113.6 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.19, allocations: 5.406 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.19, allocations: 2.625 kB / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/1.19, allocations: 0 / 1.31 GB, free: 29.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/1.19, allocations: 15.5 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.19, allocations: 2.75 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/1.19, allocations: 10.31 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/1.19, allocations: 2.938 kB / 1.31 GB, free: 29.63 MB / 1.061 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 7.992e-05/1.19, allocations: 127.6 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/1.19, allocations: 10.86 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.879e-05/1.19, allocations: 8.375 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.19, allocations: 10.33 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.19, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.19, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/1.191, allocations: 386.4 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.191, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/1.191, allocations: 10.66 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/1.191, allocations: 0 / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.191, allocations: 0 / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.191, allocations: 2.844 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.191, allocations: 3.938 kB / 1.311 GB, free: 29.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/1.191, allocations: 199.5 kB / 1.311 GB, free: 28.98 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.932e-05/1.191, allocations: 89.06 kB / 1.311 GB, free: 28.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.082e-05/1.191, allocations: 10.03 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.006e-05/1.191, allocations: 3 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/1.191, allocations: 10.22 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/1.191, allocations: 2.969 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.452e-05/1.191, allocations: 91.19 kB / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.191, allocations: 0 / 1.311 GB, free: 28.79 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002966/1.191, allocations: 44.08 kB / 1.311 GB, free: 28.78 MB / 1.061 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.000394/1.192, allocations: 165.7 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002475/1.192, allocations: 70.19 kB / 1.312 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.192, allocations: 0 / 1.312 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.384e-05/1.192, allocations: 34.55 kB / 1.312 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/1.192, allocations: 9.375 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/1.193, allocations: 198 kB / 1.312 GB, free: 28.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/1.193, allocations: 0.6871 MB / 1.313 GB, free: 27.78 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.909e-05/1.193, allocations: 5.531 kB / 1.313 GB, free: 27.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/1.193, allocations: 16.67 kB / 1.313 GB, free: 27.77 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.193, allocations: 3.938 kB / 1.313 GB, free: 27.77 MB / 1.061 GB Notification: Performance of Templates: time 0.00486/1.198, allocations: 1.472 MB / 1.314 GB, free: 27.61 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.993488503620028]