Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001487/0.001487, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001846/0.001846, allocations: 193.2 kB / 22.17 MB, free: 5.656 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.633/1.633, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.829/2.829, allocations: 476.7 MB / 0.7645 GB, free: 10.08 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.Zhang2012WindowsWest,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.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_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.89 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.984/0.9862, allocations: 168.7 MB / 1.274 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00369/0.9899, allocations: 1.527 MB / 1.276 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.9916, allocations: 0.7339 MB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.791e-05/0.9916, allocations: 4 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.9917, allocations: 7.922 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.364e-05/0.9917, allocations: 7.875 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.9924, allocations: 123.6 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.9925, allocations: 79.77 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.9927, allocations: 19.88 kB / 1.276 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.9928, allocations: 31.92 kB / 1.277 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.9929, allocations: 43.81 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.822e-05/0.993, allocations: 4 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003471/0.9933, allocations: 103.8 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.9934, allocations: 15.98 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.9934, allocations: 35.78 kB / 1.277 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003473/0.9938, allocations: 142.2 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.9938, allocations: 4 kB / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9938, allocations: 0 / 1.277 GB, free: 1.613 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.9938, allocations: 0 / 1.277 GB, free: 1.613 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.001153/0.995, allocations: 420.8 kB / 1.277 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.995, allocations: 8.031 kB / 1.277 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.576e-05/0.9951, allocations: 8.891 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.9953, allocations: 172.3 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.788e-05/0.9953, allocations: 4.312 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.9954, allocations: 12.38 kB / 1.277 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.9956, allocations: 69.97 kB / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.9956, allocations: 0 / 1.278 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.9957, allocations: 3.938 kB / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9957, allocations: 0 / 1.278 GB, free: 0.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.9958, allocations: 39.97 kB / 1.278 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008666/0.9967, allocations: 320.8 kB / 1.278 GB, free: 440 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.9969, allocations: 46.5 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.997, allocations: 28.97 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.997, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.9973, allocations: 79.38 kB / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.9973, allocations: 0 / 1.278 GB, free: 260 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0005062/0.9978, allocations: 145.5 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.104e-05/0.9979, allocations: 51.48 kB / 1.278 GB, free: 44 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.9981, allocations: 133.7 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.9982, allocations: 29.7 kB / 1.278 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.52e-05/0.9983, allocations: 92.12 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.9983, allocations: 15.89 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.9984, allocations: 33.7 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.9986, allocations: 318.8 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.976e-05/0.9987, allocations: 27.98 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.9988, allocations: 50.92 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.999, allocations: 82.78 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.999, allocations: 0 / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002545/0.9992, allocations: 109.6 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.9993, allocations: 4 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.9993, allocations: 7.984 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.9993, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.9994, allocations: 8 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9994, allocations: 4.062 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.926e-05/0.9995, allocations: 11.98 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.9995, allocations: 4 kB / 1.279 GB, free: 15.07 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.0001436/0.9996, allocations: 125.7 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.9997, allocations: 11.95 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.9997, allocations: 8.359 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.9997, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.9997, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.9997, allocations: 11.92 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005956/1, allocations: 386.4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/1, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/1, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1, allocations: 7.984 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1, allocations: 3.938 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/1.001, allocations: 207.5 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/1.001, allocations: 85.06 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.001, allocations: 0 / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.008e-05/1.001, allocations: 7.984 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/1.001, allocations: 3.938 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/1.001, allocations: 7.984 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.666e-05/1.001, allocations: 99.2 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/1.001, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003409/1.002, allocations: 35.94 kB / 1.28 GB, free: 13.97 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.000425/1.002, allocations: 154 kB / 1.28 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002687/1.002, allocations: 75.94 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.002, allocations: 8.062 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.459e-05/1.002, allocations: 24.38 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/1.003, allocations: 8.156 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/1.003, allocations: 200.1 kB / 1.28 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/1.003, allocations: 0.6885 MB / 1.281 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.627e-05/1.003, allocations: 15.88 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/1.004, allocations: 15.44 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/1.004, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.005177/1.009, allocations: 1.464 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.469599216245115]