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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004266/0.004266, allocations: 102 kB / 15.73 MB, free: 6.039 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.001088/0.001088, allocations: 194.9 kB / 16.68 MB, free: 5.961 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.883/2.883, allocations: 461.8 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 63.91 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4236, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003135/0.4268, allocations: 1.503 MB / 1.209 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.4282, allocations: 0.7249 MB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.675e-05/0.4283, allocations: 4 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.4283, allocations: 7.875 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.4284, allocations: 11.86 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005839/0.429, allocations: 127.6 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.4291, allocations: 71.77 kB / 1.21 GB, free: 7.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.931e-05/0.4292, allocations: 19.94 kB / 1.21 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.4293, allocations: 35.86 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.862e-05/0.4294, allocations: 39.83 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.4295, allocations: 8 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.4297, allocations: 91.91 kB / 1.21 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.4297, allocations: 23.91 kB / 1.21 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.4298, allocations: 31.86 kB / 1.21 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002471/0.43, allocations: 147.5 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.43, allocations: 0 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.01e-07/0.43, allocations: 0 / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.43, allocations: 0 / 1.21 GB, free: 6.797 MB / 0.9669 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.0006067/0.4307, allocations: 417 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.4307, allocations: 8.625 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.4308, allocations: 8.844 kB / 1.211 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.4309, allocations: 176.2 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.4309, allocations: 4.375 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.4309, allocations: 8.375 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.4311, allocations: 65.97 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4312, allocations: 3.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4312, allocations: 4 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.4312, allocations: 7.938 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001287/0.4313, allocations: 39.95 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005752/0.4319, allocations: 312.7 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.432, allocations: 54.55 kB / 1.212 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.069e-05/0.4321, allocations: 36.97 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.4322, allocations: 8 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.4324, allocations: 75.38 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.704e-06/0.4324, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003729/0.4327, allocations: 137.6 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.555e-05/0.4328, allocations: 51.41 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4329, allocations: 125.7 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.4329, allocations: 25.7 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.002e-05/0.433, allocations: 96.08 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.433, allocations: 19.73 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.4331, allocations: 29.7 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4332, allocations: 322.8 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.4333, allocations: 31.98 kB / 1.212 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.4334, allocations: 50.48 kB / 1.213 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.4335, allocations: 66.56 kB / 1.213 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4336, allocations: 3.938 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002355/0.4338, allocations: 113.5 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.4338, allocations: 5.719 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4338, allocations: 4 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4338, allocations: 0 / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.4339, allocations: 15.98 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.434, allocations: 3.938 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.434, allocations: 4 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.434, allocations: 7.984 kB / 1.213 GB, free: 4.254 MB / 0.9669 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.458e-05/0.4341, allocations: 121.8 kB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.977e-05/0.4342, allocations: 7.906 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.509e-05/0.4342, allocations: 16.31 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4342, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4342, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.4342, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004422/0.4347, allocations: 386.8 kB / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4347, allocations: 0 / 1.213 GB, free: 3.664 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.876e-05/0.4347, allocations: 7.984 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4347, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4347, allocations: 0 / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4348, allocations: 4.078 kB / 1.213 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4348, allocations: 11.86 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.435, allocations: 207.4 kB / 1.213 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.4351, allocations: 89.02 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4351, allocations: 0 / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.4352, allocations: 7.984 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.4352, allocations: 3.938 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.4353, allocations: 4 kB / 1.214 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.4353, allocations: 91.92 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.4353, allocations: 0 / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002859/0.4356, allocations: 39.98 kB / 1.214 GB, free: 3.172 MB / 0.9669 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.000333/0.436, allocations: 178.6 kB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002198/0.4362, allocations: 67.91 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4362, allocations: 0 / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.977e-05/0.4363, allocations: 43.89 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.4365, allocations: 11.22 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/0.4369, allocations: 192.3 kB / 1.214 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.4372, allocations: 0.6846 MB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.608e-05/0.4372, allocations: 7.984 kB / 1.215 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.4373, allocations: 11.44 kB / 1.215 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.4373, allocations: 4 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of Templates: time 0.003989/0.4413, allocations: 1.482 MB / 1.216 GB, free: 476 kB / 0.9669 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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