Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 3.005/3.005, allocations: 437.7 MB / 0.7117 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004186, allocations: 8 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8393/0.8397, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001927/0.8417, allocations: 1.2 MB / 1.024 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.843, allocations: 0.6822 MB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.321e-05/0.8431, allocations: 7.938 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.225e-05/0.8431, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.843e-05/0.8432, allocations: 15.86 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.8437, allocations: 95.77 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.8438, allocations: 59.84 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.8439, allocations: 15.97 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.844, allocations: 27.86 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.398e-05/0.8441, allocations: 35.89 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.8441, allocations: 4 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.8443, allocations: 87.84 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.8444, allocations: 11.98 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.891e-05/0.8444, allocations: 37.64 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.8446, allocations: 97.8 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8446, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8446, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8446, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 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.0005989/0.8452, allocations: 420.7 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8453, allocations: 8.562 kB / 1.025 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.8453, allocations: 11.91 kB / 1.025 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.8454, allocations: 171 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.8455, allocations: 7.984 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.8455, allocations: 11.95 kB / 1.025 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.8457, allocations: 69.59 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.8457, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.8457, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.8458, allocations: 8 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.8459, allocations: 39.97 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006598/0.8466, allocations: 320.7 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.8467, allocations: 54.5 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.8468, allocations: 36.95 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.8468, allocations: 4.062 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.847, allocations: 83.38 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8471, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004123/0.8475, allocations: 141.5 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.8475, allocations: 63.34 kB / 1.026 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.8476, allocations: 121.8 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.8477, allocations: 25.7 kB / 1.026 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.8477, allocations: 88.33 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.8478, allocations: 19.8 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.8478, allocations: 4 kB / 1.026 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.8479, allocations: 318.8 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.848, allocations: 35.98 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.8481, allocations: 58.86 kB / 1.027 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.8482, allocations: 28 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8482, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002318/0.8485, allocations: 121.8 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8485, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.8485, allocations: 80 / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.8485, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.8487, allocations: 15.92 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.8487, allocations: 3.984 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.979e-05/0.8488, allocations: 27.89 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.8488, allocations: 4 kB / 1.027 GB, free: 11.13 MB / 0.7794 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.956e-05/0.8489, allocations: 117.8 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.288e-05/0.8489, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.8489, allocations: 8.375 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.849, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.849, allocations: 0 / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.849, allocations: 3.984 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.8494, allocations: 394.3 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.8494, allocations: 0 / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.8495, allocations: 4 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.8495, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.8495, allocations: 4 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.8495, allocations: 4 kB / 1.027 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.8495, allocations: 4 kB / 1.027 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.8498, allocations: 219.3 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.813e-05/0.8499, allocations: 77.11 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.8499, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.683e-05/0.85, allocations: 15.98 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.85, allocations: 8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.85, allocations: 7.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.545e-05/0.8501, allocations: 91.44 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8501, allocations: 3.938 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002833/0.8504, allocations: 39.98 kB / 1.028 GB, free: 10.04 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003651/0.8508, allocations: 163.7 kB / 1.028 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002416/0.851, allocations: 83.88 kB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.851, allocations: 0 / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.8511, allocations: 35.98 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.8514, allocations: 12.41 kB / 1.028 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.8518, allocations: 204.9 kB / 1.028 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.8521, allocations: 0.6887 MB / 1.029 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.783e-05/0.8521, allocations: 12.17 kB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.8522, allocations: 11.44 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8522, allocations: 0 / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of Templates: time 0.004542/0.8567, allocations: 1.332 MB / 1.03 GB, free: 7.461 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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