Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001768/0.001768, allocations: 111.2 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.001788/0.001788, allocations: 186 kB / 20.78 MB, free: 1.547 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.555/1.555, allocations: 225.6 MB / 249.4 MB, free: 3.145 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 2.918/2.918, allocations: 496.2 MB / 0.7819 GB, free: 12.46 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.Zhang2012WindowsWest,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.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_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 1.136 GB, free: 12.5 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.225/1.227, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002725/1.23, allocations: 1.517 MB / 1.307 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001291/1.231, allocations: 0.7443 MB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.53e-05/1.231, allocations: 2.969 kB / 1.308 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.256e-05/1.231, allocations: 3.938 kB / 1.308 GB, free: 31.87 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.907e-05/1.231, allocations: 11.3 kB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006162/1.232, allocations: 123.5 kB / 1.308 GB, free: 31.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001181/1.232, allocations: 73.41 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/1.232, allocations: 10.3 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.208e-05/1.232, allocations: 44.39 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/1.232, allocations: 37.84 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/1.232, allocations: 5.781 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/1.233, allocations: 103.7 kB / 1.308 GB, free: 31.7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/1.233, allocations: 14.27 kB / 1.308 GB, free: 31.69 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/1.233, allocations: 32.31 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/1.233, allocations: 149 kB / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.233, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/1.233, allocations: 0 / 1.308 GB, free: 31.62 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.233, 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.0006404/1.234, allocations: 425.6 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/1.234, allocations: 11.56 kB / 1.309 GB, free: 31.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/1.234, allocations: 7.922 kB / 1.309 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.872e-05/1.234, allocations: 178.3 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.054e-05/1.234, allocations: 3.312 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/1.234, allocations: 7.125 kB / 1.309 GB, free: 30.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/1.234, allocations: 71.31 kB / 1.309 GB, free: 30.94 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.234, allocations: 3.938 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/1.234, allocations: 7.938 kB / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/1.234, allocations: 0 / 1.309 GB, free: 30.93 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/1.234, allocations: 35.12 kB / 1.309 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005601/1.235, allocations: 315 kB / 1.309 GB, free: 30.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/1.235, allocations: 51.52 kB / 1.309 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/1.235, allocations: 32.91 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/1.235, allocations: 3.938 kB / 1.309 GB, free: 30.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/1.235, allocations: 74.98 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/1.235, allocations: 0 / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003795/1.236, allocations: 140.6 kB / 1.31 GB, free: 30.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/1.236, allocations: 58.09 kB / 1.31 GB, free: 30.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/1.236, allocations: 122.8 kB / 1.31 GB, free: 30.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/1.236, allocations: 32.64 kB / 1.31 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.704e-05/1.236, allocations: 84.14 kB / 1.31 GB, free: 30.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/1.236, allocations: 21.89 kB / 1.31 GB, free: 30.13 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-05/1.236, allocations: 25.73 kB / 1.31 GB, free: 30.11 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.049e-05/1.236, allocations: 321.7 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.672e-05/1.236, allocations: 32.75 kB / 1.31 GB, free: 29.78 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.734e-05/1.236, allocations: 50.08 kB / 1.31 GB, free: 29.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/1.236, allocations: 68.92 kB / 1.31 GB, free: 29.71 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.236, allocations: 4 kB / 1.31 GB, free: 29.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002017/1.236, allocations: 124.8 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.236, allocations: 4.938 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.236, allocations: 2.594 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/1.236, allocations: 0 / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.549e-05/1.236, allocations: 11.38 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/1.236, allocations: 2.938 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/1.237, allocations: 9.719 kB / 1.31 GB, free: 29.63 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.237, allocations: 5.438 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.661e-05/1.237, allocations: 128.8 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.603e-05/1.237, allocations: 6.859 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.252e-05/1.237, allocations: 10.66 kB / 1.311 GB, free: 29.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/1.237, allocations: 3.938 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.237, allocations: 0 / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/1.237, allocations: 2.906 kB / 1.311 GB, free: 29.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/1.237, allocations: 379 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/1.237, allocations: 4 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/1.237, allocations: 9.094 kB / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/1.237, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/1.237, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.237, allocations: 0 / 1.311 GB, free: 29.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.237, allocations: 14.88 kB / 1.311 GB, free: 29.12 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/1.237, allocations: 209.6 kB / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/1.237, allocations: 87.66 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/1.237, allocations: 0 / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.302e-05/1.237, allocations: 2.625 kB / 1.311 GB, free: 28.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/1.238, allocations: 10.66 kB / 1.311 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/1.238, allocations: 6.594 kB / 1.311 GB, free: 28.86 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.519e-05/1.238, allocations: 91.97 kB / 1.311 GB, free: 28.78 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.238, allocations: 0 / 1.311 GB, free: 28.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002972/1.238, allocations: 40.28 kB / 1.311 GB, free: 28.77 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.0003884/1.238, allocations: 166.2 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000244/1.238, allocations: 71.05 kB / 1.312 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.238, allocations: 0 / 1.312 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.937e-05/1.239, allocations: 33.7 kB / 1.312 GB, free: 28.63 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/1.239, allocations: 11.95 kB / 1.312 GB, free: 28.62 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/1.239, allocations: 196.5 kB / 1.312 GB, free: 28.47 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/1.239, allocations: 0.6898 MB / 1.313 GB, free: 27.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.588e-05/1.239, allocations: 9.453 kB / 1.313 GB, free: 27.77 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.826e-05/1.239, allocations: 13.69 kB / 1.313 GB, free: 27.76 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/1.239, allocations: 6.719 kB / 1.313 GB, free: 27.75 MB / 1.061 GB Notification: Performance of Templates: time 0.004443/1.244, allocations: 1.469 MB / 1.314 GB, free: 27.6 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.176887712441385]