Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001527/0.001526, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001502/0.001502, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.673/2.673, allocations: 469.8 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 65.34 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2972, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002851/0.3001, allocations: 1.556 MB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001531/0.3016, allocations: 0.7324 MB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.118e-05/0.3017, allocations: 7.938 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.091e-05/0.3017, allocations: 0 / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.3018, allocations: 3.938 kB / 1.066 GB, free: 12.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006621/0.3025, allocations: 107.8 kB / 1.066 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.3027, allocations: 75.77 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.3028, allocations: 19.98 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.622e-05/0.3029, allocations: 27.92 kB / 1.067 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.889e-05/0.303, allocations: 43.81 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.297e-05/0.303, allocations: 8 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.3033, allocations: 95.84 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.3033, allocations: 15.92 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.212e-05/0.3034, allocations: 31.86 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002167/0.3036, allocations: 100 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/0.3036, allocations: 4 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.704e-06/0.3036, allocations: 0 / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3036, allocations: 4 kB / 1.067 GB, free: 12.29 MB / 0.8419 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.0007785/0.3044, allocations: 420.9 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3045, allocations: 11.97 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.3045, allocations: 8.844 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.3047, allocations: 172.2 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.3047, allocations: 12.34 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3048, allocations: 8.375 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.305, allocations: 73.91 kB / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.305, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.305, allocations: 4 kB / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.305, allocations: 0 / 1.068 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.3052, allocations: 35.97 kB / 1.068 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007256/0.3059, allocations: 316.8 kB / 1.068 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.3061, allocations: 46.56 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.694e-05/0.3062, allocations: 32.91 kB / 1.068 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3062, allocations: 8 kB / 1.068 GB, free: 11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.3064, allocations: 71.38 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.3064, allocations: 4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0004571/0.3069, allocations: 141.6 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.307, allocations: 55.39 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.3071, allocations: 125.7 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3072, allocations: 25.7 kB / 1.068 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3073, allocations: 100 kB / 1.068 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.3073, allocations: 15.75 kB / 1.068 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.3074, allocations: 33.7 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000208/0.3076, allocations: 322.8 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.3077, allocations: 27.92 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3078, allocations: 50.56 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001854/0.308, allocations: 74.8 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.308, allocations: 0 / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002517/0.3083, allocations: 109.6 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3083, allocations: 8 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3083, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3083, allocations: 0 / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3084, allocations: 15.98 kB / 1.069 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3085, allocations: 4 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.3085, allocations: 11.97 kB / 1.069 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.3086, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8419 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.0001947/0.3088, allocations: 131.9 kB / 1.069 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.3088, allocations: 3.906 kB / 1.069 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.3088, allocations: 12.38 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3088, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3088, allocations: 4 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3088, allocations: 0 / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005337/0.3094, allocations: 390.3 kB / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3094, allocations: 0 / 1.07 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.3094, allocations: 7.984 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3095, allocations: 0 / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3095, allocations: 4 kB / 1.07 GB, free: 9.133 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3095, allocations: 3.938 kB / 1.07 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3095, allocations: 3.938 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.3098, allocations: 211.4 kB / 1.07 GB, free: 8.902 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.985e-05/0.3099, allocations: 85 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.3099, allocations: 4 kB / 1.07 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.941e-05/0.31, allocations: 4 kB / 1.07 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.992e-05/0.31, allocations: 11.92 kB / 1.07 GB, free: 8.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-06/0.3101, allocations: 3.938 kB / 1.07 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.3101, allocations: 95.27 kB / 1.07 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3101, allocations: 4 kB / 1.07 GB, free: 8.68 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003084/0.3104, allocations: 36 kB / 1.07 GB, free: 8.645 MB / 0.8419 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.0004244/0.3109, allocations: 162 kB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.3111, allocations: 75.95 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3112, allocations: 8 kB / 1.07 GB, free: 8.414 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3113, allocations: 35.92 kB / 1.07 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3115, allocations: 8.531 kB / 1.07 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004403/0.312, allocations: 214.2 kB / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3123, allocations: 0.6905 MB / 1.071 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.3124, allocations: 11.44 kB / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3124, allocations: 0 / 1.071 GB, free: 7.398 MB / 0.8419 GB Notification: Performance of Templates: time 0.003796/0.3162, allocations: 1.615 MB / 1.073 GB, free: 5.785 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches