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) 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 11.1.0-maint.11.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001972/0.001972, allocations: 197 kB / 16.26 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.76/2.76, allocations: 469.8 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.22 kB / 0.908 GB, free: 34.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3395, allocations: 159.1 MB / 1.063 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003204/0.3427, allocations: 1.555 MB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3441, allocations: 0.7207 MB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.824e-05/0.3442, allocations: 4 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.3442, allocations: 7.922 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.3443, allocations: 15.86 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006022/0.3449, allocations: 103.8 kB / 1.066 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000123/0.3451, allocations: 71.84 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.3452, allocations: 11.92 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3453, allocations: 35.91 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.604e-05/0.3454, allocations: 47.83 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.3454, allocations: 4 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.3456, allocations: 99.84 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.3457, allocations: 19.91 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3457, allocations: 31.86 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.346, allocations: 135.9 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.346, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.078e-06/0.346, allocations: 4 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.346, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 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.0007095/0.3467, allocations: 413 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3468, allocations: 16.02 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.823e-05/0.3468, allocations: 8.844 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.347, allocations: 180.2 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.347, allocations: 384 / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.347, allocations: 4.375 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3472, allocations: 73.97 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.3473, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3473, allocations: 0 / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.3473, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3474, allocations: 43.94 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.3481, allocations: 320.7 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3482, allocations: 50.5 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.87e-05/0.3483, allocations: 32.97 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.3484, allocations: 3.984 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.3486, allocations: 75.38 kB / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.3486, allocations: 0 / 1.067 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004059/0.349, allocations: 145.5 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.3491, allocations: 55.41 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.3492, allocations: 121.8 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.3492, allocations: 29.7 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.3493, allocations: 92.05 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.299e-05/0.3493, allocations: 19.73 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.3494, allocations: 25.72 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3495, allocations: 322.8 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.07e-05/0.3496, allocations: 27.98 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-05/0.3497, allocations: 50.98 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.3499, allocations: 74.48 kB / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3499, allocations: 0 / 1.068 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002521/0.3501, allocations: 109.6 kB / 1.068 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3502, allocations: 4 kB / 1.068 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3502, allocations: 3.938 kB / 1.068 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.3502, allocations: 7.984 kB / 1.068 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.3503, allocations: 8 kB / 1.068 GB, free: 9.262 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3503, allocations: 3.938 kB / 1.068 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.3504, allocations: 11.89 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.3504, allocations: 8 kB / 1.068 GB, free: 9.238 MB / 0.8262 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.0001057/0.3505, allocations: 125.8 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.3506, allocations: 7.906 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.3506, allocations: 8.375 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3506, allocations: 3.984 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3506, allocations: 4 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3506, allocations: 0 / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.3511, allocations: 386.3 kB / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3511, allocations: 0 / 1.069 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.151e-05/0.3512, allocations: 4 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3512, allocations: 0 / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.3512, allocations: 0 / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3512, allocations: 7.984 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3512, allocations: 3.938 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.3515, allocations: 215.9 kB / 1.069 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.613e-05/0.3516, allocations: 81.02 kB / 1.069 GB, free: 8.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3516, allocations: 4 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.712e-05/0.3517, allocations: 7.922 kB / 1.069 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.3517, allocations: 11.94 kB / 1.069 GB, free: 8.285 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.3518, allocations: 7.984 kB / 1.069 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.3518, allocations: 95.42 kB / 1.069 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3518, allocations: 0 / 1.069 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000296/0.3521, allocations: 36 kB / 1.069 GB, free: 8.148 MB / 0.8262 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.0003818/0.3525, allocations: 163 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.3528, allocations: 75.89 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3528, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-05/0.3529, allocations: 40.05 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.3532, allocations: 9.547 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.3536, allocations: 199.5 kB / 1.07 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.3539, allocations: 0.6924 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.964e-05/0.354, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.354, allocations: 15.44 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.354, allocations: 0 / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of Templates: time 0.004411/0.3584, allocations: 1.397 MB / 1.072 GB, free: 5.52 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (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 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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