Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001376/0.001377, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.476/1.476, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.922/2.922, allocations: 469.8 MB / 0.742 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 72.41 kB / 0.908 GB, free: 34.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3224, allocations: 159.1 MB / 1.063 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002835/0.3253, allocations: 1.57 MB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001282/0.3266, allocations: 0.7246 MB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.979e-05/0.3266, allocations: 0 / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3267, allocations: 7.938 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.066e-05/0.3267, allocations: 7.875 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005186/0.3272, allocations: 107.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.3274, allocations: 79.81 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.382e-05/0.3275, allocations: 4 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.464e-05/0.3276, allocations: 39.91 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.3276, allocations: 39.83 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.3277, allocations: 8 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.3279, allocations: 99.84 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.328, allocations: 11.92 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.328, allocations: 31.86 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.3283, allocations: 139.9 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3283, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3283, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3283, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 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.0006977/0.329, allocations: 421 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3291, allocations: 8.031 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.167e-05/0.3291, allocations: 12.84 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3293, allocations: 180.2 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.3293, allocations: 4.375 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.3293, allocations: 8.359 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.3295, allocations: 69.97 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.3295, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.3296, allocations: 4 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3296, allocations: 4 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3297, allocations: 35.97 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006186/0.3303, allocations: 316.7 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3305, allocations: 54.5 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.3305, allocations: 28.97 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.3306, allocations: 4 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.3308, allocations: 79.44 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.3308, allocations: 0 / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003765/0.3312, allocations: 145.5 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.3312, allocations: 55.39 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.3313, allocations: 117.8 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3314, allocations: 33.7 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.3314, allocations: 92.03 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.3315, allocations: 19.75 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.3315, allocations: 29.7 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3317, allocations: 314.8 kB / 1.068 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.154e-05/0.3318, allocations: 35.97 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.3319, allocations: 46.56 kB / 1.068 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.3321, allocations: 74.47 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.3321, allocations: 0 / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/0.3323, allocations: 113.9 kB / 1.068 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3324, allocations: 8 kB / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3324, allocations: 0 / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3324, allocations: 0 / 1.068 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.3325, allocations: 11.98 kB / 1.068 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.3325, allocations: 8.016 kB / 1.068 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.265e-05/0.3326, allocations: 7.906 kB / 1.068 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3326, allocations: 7.984 kB / 1.068 GB, free: 9.211 MB / 0.8262 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.771e-05/0.3327, allocations: 129.8 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.724e-05/0.3327, allocations: 7.891 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.832e-05/0.3327, allocations: 12.38 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3328, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3328, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3328, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.3332, allocations: 386.3 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3333, allocations: 0 / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.3333, allocations: 4 kB / 1.069 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3333, allocations: 4 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3333, allocations: 3.984 kB / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3333, allocations: 0 / 1.069 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3333, allocations: 3.938 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.3337, allocations: 211.4 kB / 1.069 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3338, allocations: 88.94 kB / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3338, allocations: 0 / 1.069 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.48e-05/0.3339, allocations: 7.938 kB / 1.069 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.334, allocations: 15.92 kB / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.334, allocations: 0 / 1.069 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.3341, allocations: 99.86 kB / 1.069 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3341, allocations: 0 / 1.069 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002848/0.3344, allocations: 36 kB / 1.069 GB, free: 8.117 MB / 0.8262 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.0003453/0.3347, allocations: 150.5 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002252/0.3349, allocations: 71.89 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.335, allocations: 4 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.696e-05/0.3351, allocations: 39.91 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.3353, allocations: 13.83 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.3357, allocations: 192.4 kB / 1.07 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.3361, allocations: 0.6924 MB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.606e-05/0.3361, allocations: 8 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.3362, allocations: 15.42 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3362, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of Templates: time 0.004659/0.3408, allocations: 1.414 MB / 1.072 GB, free: 5.48 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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