Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.005766/0.005766, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.001436/0.001436, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.704/2.704, allocations: 461.8 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 60.45 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.275, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002761/0.2778, allocations: 1.556 MB / 1.054 GB, free: 6.734 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.279, allocations: 0.7439 MB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.934e-05/0.2791, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.2791, allocations: 0 / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.236e-05/0.2792, allocations: 19.84 kB / 1.055 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.2797, allocations: 103.8 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.442e-05/0.2798, allocations: 67.78 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.435e-05/0.2799, allocations: 12 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.28, allocations: 35.89 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.28, allocations: 31.84 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2801, allocations: 7.938 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.2802, allocations: 95.84 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.354e-05/0.2803, allocations: 11.98 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.698e-05/0.2803, allocations: 31.84 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.2805, allocations: 96 kB / 1.055 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2805, allocations: 7.984 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2805, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.2805, allocations: 0 / 1.055 GB, free: 5.473 MB / 0.8106 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.0005783/0.2811, allocations: 418.8 kB / 1.056 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.2812, allocations: 15.97 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.2812, allocations: 4.844 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.2813, allocations: 180.2 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2814, allocations: 4.375 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.2814, allocations: 16.31 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.2816, allocations: 69.97 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.2816, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2816, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2816, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.2818, allocations: 35.97 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005829/0.2823, allocations: 312.8 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/0.2825, allocations: 50.5 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.397e-05/0.2826, allocations: 36.95 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.2826, allocations: 0 / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.2828, allocations: 87.38 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2828, allocations: 0 / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004075/0.2832, allocations: 137.5 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.2833, allocations: 59.41 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.12e-05/0.2834, allocations: 121.8 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2834, allocations: 29.7 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.2835, allocations: 88.14 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.047e-05/0.2835, allocations: 19.75 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.401e-05/0.2835, allocations: 29.7 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2837, allocations: 326.8 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.2837, allocations: 19.98 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.281e-05/0.2838, allocations: 50.55 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.284, allocations: 78.5 kB / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.284, allocations: 0 / 1.058 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002407/0.2843, allocations: 113.5 kB / 1.058 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2843, allocations: 4 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.2843, allocations: 4 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2843, allocations: 0 / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.2844, allocations: 16.05 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.2844, allocations: 7.938 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.2845, allocations: 11.91 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.2845, allocations: 7.984 kB / 1.058 GB, free: 2.918 MB / 0.8106 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.28e-05/0.2846, allocations: 121.7 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.2847, allocations: 4 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/0.2847, allocations: 8.375 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2847, allocations: 3.938 kB / 1.058 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2847, allocations: 4 kB / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2847, allocations: 0 / 1.058 GB, free: 2.77 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.2852, allocations: 394.2 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2852, allocations: 0 / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.2852, allocations: 11.98 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2852, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.2853, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2853, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2853, allocations: 4.406 kB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.2856, allocations: 215.4 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.2856, allocations: 77.11 kB / 1.059 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2856, allocations: 4 kB / 1.059 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.2857, allocations: 4 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.2858, allocations: 11.92 kB / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.2858, allocations: 0 / 1.059 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.2859, allocations: 99.27 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2859, allocations: 3.938 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004394/0.2863, allocations: 39.98 kB / 1.059 GB, free: 1.832 MB / 0.8106 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.0003848/0.2867, allocations: 160.9 kB / 1.059 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.287, allocations: 71.91 kB / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.287, allocations: 0 / 1.059 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.2872, allocations: 35.97 kB / 1.059 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.2876, allocations: 8 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/0.2881, allocations: 227.8 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.2885, allocations: 0.6848 MB / 1.06 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.2885, allocations: 19.42 kB / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of SimCode: time 2.154e-06/0.2885, allocations: 0 / 1.06 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of Templates: time 0.004749/0.2933, allocations: 1.606 MB / 1.061 GB, free: 14.98 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches