Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.001925/0.001925, 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.002668/0.002668, allocations: 205 kB / 22.18 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.519/1.519, 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.823/2.823, allocations: 476.7 MB / 0.7645 GB, free: 10.11 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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 71.89 kB / 1.109 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7857/0.7877, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002755/0.7905, allocations: 1.519 MB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001327/0.7918, allocations: 0.7378 MB / 1.276 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.315e-05/0.7918, allocations: 4 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.202e-05/0.7919, allocations: 7.922 kB / 1.276 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.7919, allocations: 11.86 kB / 1.276 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.7925, allocations: 119.6 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00012/0.7926, allocations: 83.72 kB / 1.276 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.373e-05/0.7927, allocations: 11.94 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.699e-05/0.7927, allocations: 39.91 kB / 1.277 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.327e-05/0.7928, allocations: 39.83 kB / 1.277 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7928, allocations: 4 kB / 1.277 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.7931, allocations: 103.8 kB / 1.277 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.7931, allocations: 23.91 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.7931, allocations: 27.86 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.7934, allocations: 142.2 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7934, allocations: 0 / 1.277 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7934, allocations: 4 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.7934, allocations: 0 / 1.277 GB, free: 1.668 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.0007/0.7941, allocations: 416.8 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.7941, allocations: 12.02 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.7942, allocations: 8.891 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.7943, allocations: 184.1 kB / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.7943, allocations: 384 / 1.277 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.105e-05/0.7944, allocations: 4.375 kB / 1.277 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.7946, allocations: 77.97 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.7946, allocations: 0 / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7946, allocations: 0 / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7946, allocations: 0 / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.7947, allocations: 43.91 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/0.7953, allocations: 320.7 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.7955, allocations: 46.5 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.417e-05/0.7956, allocations: 28.97 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.7956, allocations: 0 / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.7958, allocations: 75.38 kB / 1.278 GB, free: 312 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 3.346e-06/0.7958, allocations: 4 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004079/0.7962, allocations: 145.6 kB / 1.278 GB, free: 156 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.7962, allocations: 51.41 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.7964, allocations: 133.7 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.7964, allocations: 29.7 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.7965, allocations: 88.14 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.7965, allocations: 15.89 kB / 1.278 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.7965, allocations: 25.72 kB / 1.278 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7967, allocations: 326.8 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.7968, allocations: 27.98 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.7969, allocations: 46.55 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.797, allocations: 78.8 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.797, allocations: 4 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002544/0.7973, allocations: 113.5 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.7973, allocations: 4 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7973, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7973, allocations: 3.984 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7974, allocations: 12 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.7974, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.695e-05/0.7975, allocations: 12.05 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.7975, allocations: 7.938 kB / 1.279 GB, free: 15.12 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.0001/0.7976, allocations: 125.7 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.001e-05/0.7976, allocations: 7.953 kB / 1.279 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/0.7977, allocations: 8.375 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.7977, allocations: 7.984 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.7977, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.7977, allocations: 0 / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004864/0.7982, allocations: 390.4 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.7982, allocations: 0 / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.003e-05/0.7982, allocations: 4 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7982, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.7982, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.7982, allocations: 7.984 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7982, allocations: 7.922 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.7985, allocations: 203.5 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.802e-05/0.7986, allocations: 85.06 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.7986, allocations: 3.938 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.209e-05/0.7987, allocations: 7.984 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.7987, allocations: 3.938 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.7988, allocations: 11.92 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.057e-05/0.7988, allocations: 95.27 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7988, allocations: 0 / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002856/0.7991, allocations: 35.94 kB / 1.28 GB, free: 14.02 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.0003676/0.7995, allocations: 171 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.7997, allocations: 71.89 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7997, allocations: 8.125 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.98e-05/0.7998, allocations: 23.98 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.8001, allocations: 8.547 kB / 1.28 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.8005, allocations: 196.2 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.8008, allocations: 0.6923 MB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.355e-05/0.8008, allocations: 8 kB / 1.281 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.8009, allocations: 11.44 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8009, allocations: 3.938 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of Templates: time 0.004511/0.8054, allocations: 1.463 MB / 1.283 GB, free: 11.34 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.759001622907817]