Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001785/0.001784, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.436/2.436, allocations: 437.1 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 60.28 kB / 0.8707 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3077, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002769/0.3105, allocations: 1.503 MB / 1.02 GB, free: 8.363 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3118, allocations: 0.7414 MB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.3119, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.3119, allocations: 3.938 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.982e-05/0.312, allocations: 15.84 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000508/0.3125, allocations: 119.6 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.3126, allocations: 79.78 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.3127, allocations: 11.98 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3128, allocations: 39.84 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.3129, allocations: 31.91 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3129, allocations: 8 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.3131, allocations: 99.84 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.3131, allocations: 19.89 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.3132, allocations: 31.86 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.3134, allocations: 139.6 kB / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3134, allocations: 0 / 1.022 GB, free: 7.027 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3134, allocations: 4 kB / 1.022 GB, free: 7.023 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3134, allocations: 0 / 1.022 GB, free: 7.023 MB / 0.795 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.0005735/0.314, allocations: 416.9 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.3141, allocations: 8.031 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.106e-05/0.3141, allocations: 12.84 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3142, allocations: 180.2 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.3142, allocations: 4.375 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.58e-05/0.3143, allocations: 4.375 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.3144, allocations: 77.95 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.3145, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.3145, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.3145, allocations: 4 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.3146, allocations: 35.97 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.3153, allocations: 312.7 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3155, allocations: 54.55 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.3157, allocations: 32.97 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.3157, allocations: 4 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.316, allocations: 75.38 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 2.284e-06/0.316, allocations: 0 / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0005927/0.3166, allocations: 149.5 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3167, allocations: 51.41 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.3168, allocations: 121.8 kB / 1.023 GB, free: 5.312 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.3169, allocations: 29.7 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.3169, allocations: 88.14 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.317, allocations: 19.75 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.752e-05/0.3171, allocations: 29.7 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3172, allocations: 322.8 kB / 1.023 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.3174, allocations: 27.98 kB / 1.024 GB, free: 4.781 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3175, allocations: 50.48 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000252/0.3178, allocations: 74.5 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3178, allocations: 0 / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003533/0.3182, allocations: 117.5 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3182, allocations: 4 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3182, allocations: 4 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3182, allocations: 0 / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3183, allocations: 11.98 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3183, allocations: 4.328 kB / 1.024 GB, free: 4.496 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.451e-05/0.3184, allocations: 11.97 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.3184, allocations: 11.98 kB / 1.024 GB, free: 4.473 MB / 0.795 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 8.752e-05/0.3185, allocations: 121.3 kB / 1.024 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.3185, allocations: 4 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.3186, allocations: 12.38 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3186, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3186, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3186, allocations: 0 / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004544/0.3191, allocations: 390.2 kB / 1.024 GB, free: 3.895 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.3191, allocations: 4 kB / 1.024 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.3191, allocations: 7.984 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3191, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.3191, allocations: 4 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3192, allocations: 0 / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3192, allocations: 3.938 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002774/0.3194, allocations: 215.4 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.3195, allocations: 85.09 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.3195, allocations: 0 / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.228e-05/0.3196, allocations: 11.92 kB / 1.025 GB, free: 3.535 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.3197, allocations: 15.88 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.3197, allocations: 0 / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.319e-05/0.3197, allocations: 91.92 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3198, allocations: 0 / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003018/0.3201, allocations: 43.98 kB / 1.025 GB, free: 3.387 MB / 0.795 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.0003114/0.3204, allocations: 157.1 kB / 1.025 GB, free: 3.238 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.3206, allocations: 67.91 kB / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3206, allocations: 128 / 1.025 GB, free: 3.172 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.642e-05/0.3207, allocations: 39.97 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.321, allocations: 8 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.3214, allocations: 184.3 kB / 1.025 GB, free: 2.914 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.3216, allocations: 0.6846 MB / 1.026 GB, free: 2.203 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.818e-05/0.3217, allocations: 11.98 kB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.769e-05/0.3217, allocations: 11.44 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of SimCode: time 2.2e-07/0.3217, allocations: 0 / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of Templates: time 0.003963/0.3257, allocations: 1.458 MB / 1.027 GB, free: 0.7266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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