Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,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.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 106 kB / 16.35 MB, free: 5.824 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.0019/0.0019, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 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.504/2.504, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 69.39 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2732, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002358/0.2756, allocations: 1.507 MB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2768, allocations: 0.7298 MB / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.2768, allocations: 0 / 1.021 GB, free: 7.617 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.2769, allocations: 3.938 kB / 1.021 GB, free: 7.613 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-05/0.2769, allocations: 15.86 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.2775, allocations: 123.5 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2776, allocations: 75.81 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.2777, allocations: 12 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.2778, allocations: 35.84 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.2778, allocations: 39.83 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.2779, allocations: 12 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.2781, allocations: 91.91 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.2781, allocations: 19.92 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.2781, allocations: 35.84 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.2784, allocations: 143.5 kB / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2784, allocations: 0 / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2784, allocations: 0 / 1.022 GB, free: 7.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2784, allocations: 0 / 1.022 GB, free: 7.02 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.0006087/0.279, allocations: 417 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.279, allocations: 12.92 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.299e-05/0.2791, allocations: 8.844 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.2793, allocations: 176.2 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.2793, allocations: 8.375 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.2793, allocations: 384 / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.2795, allocations: 77.89 kB / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.2795, allocations: 0 / 1.022 GB, free: 6.238 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2796, allocations: 3.938 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2796, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.2797, allocations: 43.97 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.2803, allocations: 308.8 kB / 1.023 GB, free: 5.836 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.2805, allocations: 46.56 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.997e-05/0.2805, allocations: 44.91 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.2806, allocations: 0 / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.2808, allocations: 75.38 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2808, allocations: 0 / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003825/0.2812, allocations: 141.8 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2812, allocations: 55.39 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.2813, allocations: 125.8 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.2813, allocations: 29.7 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.006e-05/0.2814, allocations: 96.19 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.2814, allocations: 19.75 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.2815, allocations: 25.7 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.976e-05/0.2816, allocations: 318.8 kB / 1.023 GB, free: 4.801 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.113e-05/0.2817, allocations: 31.97 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.2818, allocations: 46.56 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.282, allocations: 74.48 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.282, allocations: 3.938 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000229/0.2822, allocations: 113.6 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.2822, allocations: 8 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.2823, allocations: 4 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.2823, allocations: 0 / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.2824, allocations: 15.92 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.2824, allocations: 0 / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.748e-05/0.2825, allocations: 7.906 kB / 1.024 GB, free: 4.477 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.2825, allocations: 8 kB / 1.024 GB, free: 4.469 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 9.514e-05/0.2826, allocations: 126.7 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.2826, allocations: 7.984 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.2827, allocations: 12.38 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2827, allocations: 3.984 kB / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2827, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2827, allocations: 0 / 1.024 GB, free: 4.312 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.2831, allocations: 386.3 kB / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2832, allocations: 0 / 1.024 GB, free: 3.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.2832, allocations: 4 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2832, allocations: 4 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.2832, allocations: 7.922 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.2832, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2832, allocations: 3.938 kB / 1.024 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.2836, allocations: 203.4 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.2836, allocations: 85.09 kB / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.2837, allocations: 0 / 1.025 GB, free: 3.539 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.961e-05/0.2838, allocations: 8 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.2838, allocations: 7.922 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.2838, allocations: 4 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.2839, allocations: 95.27 kB / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2839, allocations: 0 / 1.025 GB, free: 3.426 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003136/0.2842, allocations: 32 kB / 1.025 GB, free: 3.395 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.0003374/0.2845, allocations: 175.8 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.2848, allocations: 75.92 kB / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2848, allocations: 0 / 1.025 GB, free: 3.156 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.77e-05/0.2849, allocations: 35.92 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.2852, allocations: 7.984 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.2856, allocations: 180.5 kB / 1.025 GB, free: 2.906 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.2859, allocations: 0.6885 MB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.2859, allocations: 4 kB / 1.026 GB, free: 2.188 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.2859, allocations: 11.44 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2859, allocations: 0 / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of Templates: time 0.004094/0.29, allocations: 1.464 MB / 1.027 GB, free: 0.7266 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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