Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001235/0.001235, allocations: 191 kB / 16.25 MB, free: 6.637 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.462/1.462, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 62.94 kB / 0.8986 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3253, allocations: 157.4 MB / 1.052 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00272/0.328, allocations: 1.558 MB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.3294, allocations: 0.7327 MB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.236e-05/0.3294, allocations: 8 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.3295, allocations: 3.938 kB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.3296, allocations: 11.81 kB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.3301, allocations: 111.8 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.659e-05/0.3302, allocations: 67.83 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.3303, allocations: 19.92 kB / 1.055 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.196e-05/0.3304, allocations: 31.91 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.3305, allocations: 43.83 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3305, allocations: 8 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3307, allocations: 91.91 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.711e-05/0.3307, allocations: 19.92 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.565e-05/0.3308, allocations: 35.8 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.331, allocations: 139.9 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.331, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.331, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.331, allocations: 0 / 1.055 GB, free: 5.828 MB / 0.8106 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.000621/0.3316, allocations: 421 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3317, allocations: 8.031 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.3317, allocations: 8.844 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.3318, allocations: 176.2 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.3319, allocations: 12.36 kB / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3319, allocations: 384 / 1.056 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.3321, allocations: 73.91 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3321, allocations: 0 / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.3321, allocations: 4 kB / 1.056 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.3321, allocations: 8 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3323, allocations: 35.97 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006095/0.3329, allocations: 304.8 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.333, allocations: 50.56 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.394e-05/0.3331, allocations: 40.84 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.3332, allocations: 0 / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.3334, allocations: 79.44 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3334, allocations: 0 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003833/0.3338, allocations: 145.8 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3338, allocations: 51.41 kB / 1.056 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.3339, allocations: 121.8 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.334, allocations: 29.7 kB / 1.057 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.761e-05/0.334, allocations: 92.12 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.334, allocations: 19.75 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.3341, allocations: 25.7 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3342, allocations: 322.8 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-05/0.3343, allocations: 31.98 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.523e-05/0.3344, allocations: 43 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.3346, allocations: 82.53 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3346, allocations: 3.938 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002225/0.3348, allocations: 117.5 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3348, allocations: 4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.3348, allocations: 4 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.3348, allocations: 0 / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.3349, allocations: 11.98 kB / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.335, allocations: 0 / 1.057 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.734e-05/0.335, allocations: 7.906 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.3351, allocations: 4 kB / 1.057 GB, free: 3.289 MB / 0.8106 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 9.439e-05/0.3352, allocations: 133.8 kB / 1.057 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.552e-05/0.3352, allocations: 7.938 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.3352, allocations: 8.375 kB / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3352, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3352, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3352, allocations: 0 / 1.057 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.3357, allocations: 394.3 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3357, allocations: 0 / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.3357, allocations: 7.984 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3357, allocations: 0 / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3358, allocations: 7.938 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3358, allocations: 0 / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3358, allocations: 3.938 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.336, allocations: 211.4 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.3361, allocations: 81.11 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3361, allocations: 0 / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.095e-05/0.3362, allocations: 4 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.3363, allocations: 7.922 kB / 1.058 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.3363, allocations: 4 kB / 1.058 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.3363, allocations: 99.42 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3363, allocations: 0 / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003016/0.3366, allocations: 36 kB / 1.058 GB, free: 2.203 MB / 0.8106 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.0003139/0.337, allocations: 169.4 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3372, allocations: 68.19 kB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3372, allocations: 0 / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.3373, allocations: 44.02 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.3376, allocations: 17.31 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.338, allocations: 186.6 kB / 1.059 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.3383, allocations: 0.6924 MB / 1.059 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.225e-05/0.3384, allocations: 4 kB / 1.059 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.3384, allocations: 15.42 kB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3384, allocations: 0 / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of Templates: time 0.004246/0.3427, allocations: 1.406 MB / 1.061 GB, free: 15.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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