Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.001609/0.001609, allocations: 106.5 kB / 16.45 MB, free: 6.457 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.001738/0.001738, allocations: 198.8 kB / 19.41 MB, free: 3.645 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.479/1.479, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.804/2.804, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 72.08 kB / 1.104 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124/1.126, allocations: 168.7 MB / 1.269 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00342/1.129, allocations: 1.499 MB / 1.271 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001616/1.131, allocations: 0.7415 MB / 1.271 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.971e-05/1.131, allocations: 4 kB / 1.271 GB, free: 3 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/1.131, allocations: 3.938 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/1.131, allocations: 7.875 kB / 1.271 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007574/1.132, allocations: 119.6 kB / 1.272 GB, free: 2.871 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001652/1.132, allocations: 75.77 kB / 1.272 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/1.132, allocations: 15.94 kB / 1.272 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/1.132, allocations: 43.84 kB / 1.272 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.312e-05/1.132, allocations: 35.84 kB / 1.272 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/1.132, allocations: 7.984 kB / 1.272 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002207/1.132, allocations: 99.89 kB / 1.272 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.267e-05/1.132, allocations: 15.98 kB / 1.272 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/1.132, allocations: 35.8 kB / 1.272 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/1.133, allocations: 141.9 kB / 1.272 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.133, allocations: 4 kB / 1.272 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.306e-06/1.133, allocations: 0 / 1.272 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.133, allocations: 0 / 1.272 GB, free: 2.414 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.0008696/1.134, allocations: 428.7 kB / 1.272 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.134, allocations: 8.625 kB / 1.272 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/1.134, allocations: 8.891 kB / 1.272 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001539/1.134, allocations: 168.3 kB / 1.273 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/1.134, allocations: 8.359 kB / 1.273 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.089e-05/1.134, allocations: 8.375 kB / 1.273 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/1.134, allocations: 69.97 kB / 1.273 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.134, allocations: 4 kB / 1.273 GB, free: 1.629 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/1.134, allocations: 7.938 kB / 1.273 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/1.134, allocations: 0 / 1.273 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/1.134, allocations: 35.97 kB / 1.273 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006783/1.135, allocations: 316.7 kB / 1.273 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/1.135, allocations: 42.56 kB / 1.273 GB, free: 1.176 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.757e-05/1.135, allocations: 32.95 kB / 1.273 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/1.135, allocations: 7.875 kB / 1.273 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002543/1.135, allocations: 87.38 kB / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/1.135, allocations: 0 / 1.273 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004541/1.136, allocations: 141.6 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.136, allocations: 55.41 kB / 1.273 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.136, allocations: 125.7 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/1.136, allocations: 25.7 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/1.136, allocations: 92.12 kB / 1.274 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/1.136, allocations: 15.84 kB / 1.274 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/1.136, allocations: 29.7 kB / 1.274 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.136, allocations: 326.8 kB / 1.274 GB, free: 192 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.411e-05/1.137, allocations: 27.98 kB / 1.274 GB, free: 164 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/1.137, allocations: 46.94 kB / 1.274 GB, free: 108 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/1.137, allocations: 74.53 kB / 1.274 GB, free: 24 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.137, allocations: 0 / 1.274 GB, free: 24 kB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003131/1.137, allocations: 121.5 kB / 1.274 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/1.137, allocations: 4 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/1.137, allocations: 0 / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/1.137, allocations: 4 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/1.137, allocations: 11.98 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/1.137, allocations: 0 / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.749e-05/1.137, allocations: 11.94 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/1.137, allocations: 4 kB / 1.274 GB, free: 15.86 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.0001224/1.138, allocations: 125.8 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/1.138, allocations: 7.953 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/1.138, allocations: 8.375 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.138, allocations: 11.88 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.138, allocations: 0 / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/1.138, allocations: 0 / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/1.138, allocations: 382.4 kB / 1.275 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.138, allocations: 0 / 1.275 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/1.138, allocations: 7.984 kB / 1.275 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.138, allocations: 0 / 1.275 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/1.138, allocations: 4 kB / 1.275 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.138, allocations: 0 / 1.275 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.138, allocations: 11.88 kB / 1.275 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/1.139, allocations: 208 kB / 1.275 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/1.139, allocations: 85.06 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.351e-05/1.139, allocations: 4 kB / 1.275 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/1.139, allocations: 8 kB / 1.275 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/1.139, allocations: 7.922 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.139, allocations: 4 kB / 1.275 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.372e-05/1.139, allocations: 95.2 kB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.139, allocations: 0 / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000346/1.139, allocations: 35.94 kB / 1.275 GB, free: 14.77 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.000463/1.14, allocations: 167.7 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002833/1.14, allocations: 63.91 kB / 1.275 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.14, allocations: 0 / 1.275 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/1.14, allocations: 43.84 kB / 1.275 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/1.14, allocations: 16.11 kB / 1.275 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005263/1.141, allocations: 180.3 kB / 1.276 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/1.141, allocations: 0.6885 MB / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.761e-05/1.141, allocations: 0 / 1.276 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/1.141, allocations: 15.42 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/1.141, allocations: 4 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of Templates: time 0.005364/1.147, allocations: 1.46 MB / 1.278 GB, free: 12.1 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.3489561509341]