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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.0008699/0.0008702, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006596/0.006596, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005715/0.0005716, allocations: 8 kB / 0.8728 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7916/0.7922, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.00197/0.7942, allocations: 1.226 MB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001349/0.7956, allocations: 0.7092 MB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.997e-05/0.7957, allocations: 4 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.512e-05/0.7957, allocations: 7.922 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.542e-05/0.7958, allocations: 7.922 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.7964, allocations: 103.8 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.7965, allocations: 71.78 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.7966, allocations: 15.98 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.7968, allocations: 35.84 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.7968, allocations: 27.84 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.7969, allocations: 4 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.7971, allocations: 95.84 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.7972, allocations: 11.92 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.184e-05/0.7972, allocations: 57.55 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.7975, allocations: 137.6 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7976, allocations: 4 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.023e-06/0.7976, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7976, allocations: 0 / 1.025 GB, free: 13.29 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.0007874/0.7984, allocations: 409 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.7984, allocations: 8.031 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.7985, allocations: 8.844 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.7987, allocations: 176.3 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.7987, allocations: 4.375 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.7987, allocations: 8.375 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.799, allocations: 77.91 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.799, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.799, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.799, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.7992, allocations: 39.97 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/0.7999, allocations: 328.7 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.8001, allocations: 54.56 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.8002, allocations: 40.89 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.8002, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/0.8005, allocations: 83.28 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/0.8005, allocations: 3.938 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000436/0.801, allocations: 145.7 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.801, allocations: 55.41 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.8011, allocations: 125.7 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.8012, allocations: 33.69 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.8012, allocations: 88.14 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.8013, allocations: 15.81 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.8013, allocations: 21.7 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.8014, allocations: 322.8 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.8015, allocations: 27.97 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.152e-05/0.8016, allocations: 46.56 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.8018, allocations: 86.78 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8018, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002515/0.8021, allocations: 121.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.8021, allocations: 6.031 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.8021, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8021, allocations: 4 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.8022, allocations: 11.98 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.8022, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.054e-05/0.8023, allocations: 19.88 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.8024, allocations: 4 kB / 1.028 GB, free: 10.71 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,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.0001025/0.8025, allocations: 126.3 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.8025, allocations: 7.906 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.12e-05/0.8025, allocations: 12.36 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8025, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.8025, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.8025, allocations: 3.938 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.803, allocations: 386.5 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.803, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.903e-05/0.8031, allocations: 4 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.8031, allocations: 3.984 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.8031, allocations: 11.98 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8031, allocations: 3.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8031, allocations: 3.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.8034, allocations: 215.4 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.8034, allocations: 81.02 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.8035, allocations: 7.984 kB / 1.029 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.496e-05/0.8036, allocations: 8 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.8036, allocations: 7.922 kB / 1.029 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.8036, allocations: 8 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.21e-05/0.8037, allocations: 91.27 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8037, allocations: 0 / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003103/0.804, allocations: 36 kB / 1.029 GB, free: 9.609 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 (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.0004242/0.8045, allocations: 163.4 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.8047, allocations: 84.12 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8047, allocations: 0 / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.8048, allocations: 40.08 kB / 1.029 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.8051, allocations: 11.98 kB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.8056, allocations: 209.4 kB / 1.029 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.806, allocations: 0.6848 MB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.806, allocations: 7.984 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.8061, allocations: 15.44 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.8061, allocations: 0 / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of Templates: time 0.004438/0.8105, allocations: 1.358 MB / 1.031 GB, free: 6.996 MB / 0.7794 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 -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/jenkins/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