Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TIn|win.occ|win.p|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001647/0.001647, allocations: 168.7 kB / 15.95 MB, free: 204 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.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.406 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 2.926/2.926, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004523/0.0004524, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8153/0.8158, allocations: 153.8 MB / 1.022 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.001621/0.8175, allocations: 1.207 MB / 1.024 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.8187, allocations: 0.6861 MB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.606e-05/0.8188, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.485e-05/0.8188, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.8189, allocations: 7.922 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.8194, allocations: 99.75 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.8195, allocations: 67.78 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.8196, allocations: 11.98 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.8197, allocations: 27.92 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.8198, allocations: 39.83 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.8198, allocations: 0 / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.82, allocations: 91.84 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.82, allocations: 7.984 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.279e-05/0.8201, allocations: 37.64 kB / 1.025 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.8203, allocations: 105.7 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8203, allocations: 0 / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8203, allocations: 4 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.8204, allocations: 0 / 1.025 GB, free: 13.68 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.0006527/0.821, allocations: 408.8 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.8211, allocations: 8.562 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.852e-05/0.8211, allocations: 7.906 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.8213, allocations: 171 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.8214, allocations: 4 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.8215, allocations: 11.95 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.8217, allocations: 65.66 kB / 1.025 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.8217, allocations: 7.938 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.8217, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.8217, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.8219, allocations: 43.97 kB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.8225, allocations: 320.7 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.8227, allocations: 50.56 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.8228, allocations: 40.97 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.8228, allocations: 7.922 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.8231, allocations: 71.39 kB / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.8231, allocations: 0 / 1.026 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004509/0.8235, allocations: 157.6 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/0.8236, allocations: 51.41 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.8237, allocations: 125.7 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.8237, allocations: 29.69 kB / 1.026 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.264e-05/0.8238, allocations: 96.27 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/0.8238, allocations: 15.81 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.8238, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.824, allocations: 322.8 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.8241, allocations: 27.98 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.8242, allocations: 55.41 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.8243, allocations: 39.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.8243, allocations: 0 / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002387/0.8245, allocations: 121.5 kB / 1.027 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.8245, allocations: 8.062 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.8246, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.8246, allocations: 7.938 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.8247, allocations: 11.98 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.8247, allocations: 4 kB / 1.027 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.8248, allocations: 11.84 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.8248, allocations: 4 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$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 0.000215/0.825, allocations: 125.8 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.825, allocations: 4 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.8251, allocations: 8.375 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.8251, allocations: 7.938 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8251, allocations: 0 / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.8251, allocations: 4.031 kB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.8256, allocations: 386.4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8256, allocations: 4 kB / 1.027 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.8256, allocations: 7.984 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.8256, allocations: 4 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.8257, allocations: 3.938 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.8257, allocations: 0 / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8257, allocations: 3.938 kB / 1.027 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.8261, allocations: 223.8 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.8261, allocations: 81.09 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.8262, allocations: 4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.278e-05/0.8262, allocations: 4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.8263, allocations: 3.984 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.8263, allocations: 4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001808/0.8265, allocations: 91.92 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8265, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003105/0.8268, allocations: 43.92 kB / 1.028 GB, free: 10.07 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,occ.y,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.0004087/0.8272, allocations: 163.2 kB / 1.028 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.8275, allocations: 79.97 kB / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.8275, allocations: 0 / 1.028 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.8276, allocations: 43.91 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.8279, allocations: 7.953 kB / 1.028 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004594/0.8284, allocations: 209.1 kB / 1.028 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.8287, allocations: 0.6902 MB / 1.029 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.918e-05/0.8287, allocations: 4.188 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.8288, allocations: 11.44 kB / 1.029 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.8288, allocations: 4 kB / 1.029 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of Templates: time 0.004471/0.8332, allocations: 1.342 MB / 1.03 GB, free: 7.48 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.p,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TIn,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0