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.001446/0.001446, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001735/0.001735, allocations: 190.2 kB / 22.23 MB, free: 5.227 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.524/1.524, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.991/2.991, allocations: 476.7 MB / 0.7646 GB, free: 9.875 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.002023/0.002023, allocations: 63.89 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9293/0.9313, allocations: 168.8 MB / 1.274 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002894/0.9342, allocations: 1.519 MB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.9356, allocations: 0.7494 MB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.747e-05/0.9357, allocations: 0 / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.347e-05/0.9357, allocations: 3.938 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.9357, allocations: 7.875 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005651/0.9363, allocations: 131.6 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.9364, allocations: 79.83 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.9365, allocations: 11.95 kB / 1.277 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.5e-05/0.9366, allocations: 43.78 kB / 1.277 GB, free: 1.633 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.9367, allocations: 31.89 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.9367, allocations: 8 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.937, allocations: 127.8 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.24e-05/0.937, allocations: 23.91 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.937, allocations: 31.86 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.9373, allocations: 149.9 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.9373, allocations: 0 / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.9373, allocations: 0 / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.808e-06/0.9373, allocations: 0 / 1.277 GB, free: 1.277 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.0006589/0.938, allocations: 339.6 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.938, allocations: 11.97 kB / 1.277 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.938, allocations: 16.81 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.9381, allocations: 118.5 kB / 1.278 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.9382, allocations: 4.375 kB / 1.278 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.9382, allocations: 8.375 kB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.9384, allocations: 69.97 kB / 1.278 GB, free: 0.6562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.9384, allocations: 3.938 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.9384, allocations: 4 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.9384, allocations: 0 / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.9386, allocations: 35.97 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.9392, allocations: 287.8 kB / 1.278 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.9393, allocations: 46.55 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.636e-05/0.9394, allocations: 40.89 kB / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.9394, allocations: 0 / 1.278 GB, free: 196 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.9396, allocations: 75.38 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9396, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004253/0.94, allocations: 141.7 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.9401, allocations: 55.41 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.9402, allocations: 125.7 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.9402, allocations: 33.64 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.9403, allocations: 88.14 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.9403, allocations: 15.91 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.9404, allocations: 29.7 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.9405, allocations: 326.8 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.9406, allocations: 23.98 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.793e-05/0.9407, allocations: 54.48 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.9408, allocations: 70.5 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9408, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002345/0.9411, allocations: 109.8 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.9411, allocations: 8 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.9411, allocations: 80 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.9411, allocations: 0 / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.9412, allocations: 20.05 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.9412, allocations: 7.984 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.758e-05/0.9413, allocations: 7.938 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.9413, allocations: 7.984 kB / 1.279 GB, free: 14.92 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.0001174/0.9414, allocations: 117.8 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.9414, allocations: 11.89 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.9415, allocations: 8.375 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.9415, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.9415, allocations: 4 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9415, allocations: 0 / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004859/0.942, allocations: 365.4 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.942, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.942, allocations: 7.984 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.942, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.942, allocations: 0 / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.942, allocations: 3.938 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.942, allocations: 3.938 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.9423, allocations: 207.5 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.9423, allocations: 7.953 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.9424, allocations: 4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.515e-05/0.9424, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.1e-05/0.9425, allocations: 11.92 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.9425, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.607e-05/0.9426, allocations: 107.2 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9426, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000295/0.9429, allocations: 35.92 kB / 1.28 GB, free: 13.96 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.000412/0.9433, allocations: 160.2 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002538/0.9435, allocations: 71.91 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9435, allocations: 3.938 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.9436, allocations: 31.91 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.9439, allocations: 10.19 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004728/0.9444, allocations: 196.7 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.9447, allocations: 0.6908 MB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.99e-05/0.9448, allocations: 3.984 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.9448, allocations: 11.44 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9448, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.004903/0.9497, allocations: 1.485 MB / 1.283 GB, free: 11.27 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.495309320278466]