Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,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.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.00155/0.00155, allocations: 190.9 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.301/1.301, 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.506/2.506, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.22 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2833, allocations: 151.7 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002482/0.2859, allocations: 1.499 MB / 1.02 GB, free: 8.348 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.2871, allocations: 0.7337 MB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.2871, allocations: 0 / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.2872, allocations: 11.86 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.2872, allocations: 7.922 kB / 1.021 GB, free: 7.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004871/0.2877, allocations: 123.6 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2879, allocations: 75.78 kB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.288, allocations: 15.98 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.288, allocations: 35.84 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.759e-05/0.2881, allocations: 35.89 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.2881, allocations: 11.94 kB / 1.021 GB, free: 7.297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.2883, allocations: 99.84 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.2883, allocations: 19.91 kB / 1.021 GB, free: 7.18 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.92e-05/0.2884, allocations: 27.86 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.2886, allocations: 139.6 kB / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2886, allocations: 0 / 1.022 GB, free: 7.016 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2886, allocations: 4 kB / 1.022 GB, free: 7.012 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2886, allocations: 0 / 1.022 GB, free: 7.012 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.0005488/0.2892, allocations: 420.9 kB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2892, allocations: 12.86 kB / 1.022 GB, free: 6.535 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.2893, allocations: 12.83 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.2894, allocations: 172.2 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.2894, allocations: 4.375 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.042e-05/0.2894, allocations: 8.375 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2896, allocations: 69.97 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.2896, allocations: 3.984 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2896, allocations: 0 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2897, allocations: 4 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.2898, allocations: 39.95 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.2903, allocations: 316.7 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.2905, allocations: 50.55 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.2905, allocations: 32.97 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.2906, allocations: 0 / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.2907, allocations: 83.31 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2907, allocations: 4 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of matching and sorting (n=7): time 0.0003564/0.2911, allocations: 137.6 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.2912, allocations: 55.41 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.763e-05/0.2913, allocations: 121.8 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.2913, allocations: 25.7 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.121e-05/0.2913, allocations: 92.14 kB / 1.023 GB, free: 5.172 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.2914, allocations: 19.73 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.644e-05/0.2914, allocations: 29.72 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.2915, allocations: 322.8 kB / 1.023 GB, free: 4.793 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.2916, allocations: 27.92 kB / 1.024 GB, free: 4.766 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.2917, allocations: 50.48 kB / 1.024 GB, free: 4.707 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2918, allocations: 74.56 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2919, allocations: 0 / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002111/0.2921, allocations: 109.5 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2921, allocations: 4 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2921, allocations: 4 kB / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.2921, allocations: 0 / 1.024 GB, free: 4.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.2922, allocations: 19.86 kB / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2922, allocations: 400 / 1.024 GB, free: 4.484 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.064e-05/0.2923, allocations: 19.95 kB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.2923, allocations: 4 kB / 1.024 GB, free: 4.461 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.275e-05/0.2924, allocations: 118.4 kB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.2924, allocations: 4 kB / 1.024 GB, free: 4.332 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.618e-05/0.2925, allocations: 12.38 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.2925, allocations: 0 / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2925, allocations: 3.984 kB / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2925, allocations: 0 / 1.024 GB, free: 4.316 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.2929, allocations: 394.2 kB / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2929, allocations: 0 / 1.024 GB, free: 3.875 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.293, allocations: 12 kB / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.293, allocations: 0 / 1.024 GB, free: 3.863 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.293, allocations: 4 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.293, allocations: 0 / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.293, allocations: 7.922 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.2932, allocations: 211.3 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.689e-05/0.2933, allocations: 81.11 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.2933, allocations: 0 / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.603e-05/0.2934, allocations: 15.92 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.2935, allocations: 7.938 kB / 1.025 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.2935, allocations: 3.984 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.266e-05/0.2935, allocations: 91.88 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2935, allocations: 0 / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000272/0.2938, allocations: 43.98 kB / 1.025 GB, free: 3.371 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.0002964/0.2941, allocations: 162.3 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.2943, allocations: 67.89 kB / 1.025 GB, free: 3.152 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2943, allocations: 4.125 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 8.818e-05/0.2944, allocations: 35.98 kB / 1.025 GB, free: 3.113 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.2947, allocations: 4 kB / 1.025 GB, free: 3.109 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003734/0.2951, allocations: 186.5 kB / 1.025 GB, free: 2.898 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2953, allocations: 0.6885 MB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.2954, allocations: 8 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.2954, allocations: 11.44 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.2954, allocations: 0 / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of Templates: time 0.003828/0.2992, allocations: 1.455 MB / 1.027 GB, free: 0.7148 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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