Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.001383/0.001383, 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.00153/0.00153, allocations: 201.8 kB / 22.17 MB, free: 5.207 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.527/1.527, 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.885/2.885, allocations: 476.7 MB / 0.7645 GB, free: 10.07 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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.88 kB / 1.109 GB, free: 6.523 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8338, allocations: 168.7 MB / 1.274 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003659/0.8375, allocations: 1.511 MB / 1.276 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.8392, allocations: 0.7456 MB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.8392, allocations: 4 kB / 1.276 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.17e-05/0.8392, allocations: 7.875 kB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.556e-05/0.8393, allocations: 11.92 kB / 1.276 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006256/0.8399, allocations: 111.6 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.8401, allocations: 87.69 kB / 1.276 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.8402, allocations: 11.95 kB / 1.276 GB, free: 1.988 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.8403, allocations: 31.92 kB / 1.276 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.8404, allocations: 39.81 kB / 1.277 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.8404, allocations: 11.94 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002384/0.8407, allocations: 111.8 kB / 1.277 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.8407, allocations: 15.92 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.91e-05/0.8407, allocations: 35.84 kB / 1.277 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.841, allocations: 138.2 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.841, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.893e-06/0.841, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.841, allocations: 4 kB / 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.0007513/0.8418, allocations: 416.7 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.8418, allocations: 16.03 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.8419, allocations: 8.891 kB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.8421, allocations: 172.2 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.8421, allocations: 8.375 kB / 1.277 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.8421, allocations: 8.359 kB / 1.277 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.8423, allocations: 73.97 kB / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.8423, allocations: 0 / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.8423, allocations: 0 / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.8423, allocations: 0 / 1.278 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.8425, allocations: 47.84 kB / 1.278 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006508/0.8431, allocations: 312.8 kB / 1.278 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.8433, allocations: 42.56 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.376e-05/0.8433, allocations: 32.97 kB / 1.278 GB, free: 348 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.8434, allocations: 4 kB / 1.278 GB, free: 344 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001991/0.8436, allocations: 83.31 kB / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.8436, allocations: 0 / 1.278 GB, free: 248 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.844, allocations: 133.7 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.844, allocations: 63.39 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.8442, allocations: 133.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.8442, allocations: 25.7 kB / 1.278 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.8442, allocations: 88.12 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.8443, allocations: 15.91 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.8443, allocations: 29.7 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.8445, allocations: 322.8 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.8446, allocations: 23.97 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.8447, allocations: 54.5 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.8449, allocations: 70.55 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.8449, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000244/0.8451, allocations: 113.5 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.8451, allocations: 8.062 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8451, allocations: 0 / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8452, allocations: 4 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.8453, allocations: 19.86 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.8453, allocations: 0 / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.458e-05/0.8453, allocations: 11.94 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.8453, 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.000117/0.8455, allocations: 121.7 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.8455, allocations: 15.94 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.259e-05/0.8455, allocations: 8.375 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8455, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.8455, allocations: 4 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8455, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.846, allocations: 382.8 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.846, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.105e-05/0.8461, allocations: 4 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.8461, allocations: 0 / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.8461, allocations: 11.98 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8461, allocations: 80 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.8461, allocations: 7.922 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.8464, allocations: 207.4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.8465, allocations: 89.03 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8465, allocations: 4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.8466, allocations: 8 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.8466, allocations: 11.92 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.8466, allocations: 4 kB / 1.28 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.8467, allocations: 91.27 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8467, allocations: 0 / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002935/0.847, 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.0004065/0.8474, allocations: 178.6 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.8476, allocations: 67.89 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8477, allocations: 0 / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.8478, allocations: 31.98 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.0002652/0.848, allocations: 11.98 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.0004761/0.8485, allocations: 196.3 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.8488, allocations: 0.6885 MB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.473e-05/0.8489, allocations: 4 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.8489, allocations: 7.438 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8489, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.004866/0.8538, allocations: 1.479 MB / 1.283 GB, free: 11.28 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.982228506356478]