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.005563/0.005563, allocations: 96.45 kB / 15.73 MB, free: 6 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.001427/0.001427, allocations: 189.3 kB / 16.67 MB, free: 5.93 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.413/1.413, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.862/2.862, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3578, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002576/0.3604, allocations: 1.503 MB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001301/0.3617, allocations: 0.7245 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.447e-05/0.3617, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.226e-05/0.3618, allocations: 3.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.309e-05/0.3618, allocations: 23.84 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005919/0.3624, allocations: 119.6 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3625, allocations: 79.72 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.839e-05/0.3626, allocations: 15.94 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.3627, allocations: 31.91 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.658e-05/0.3628, allocations: 35.84 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3628, allocations: 8 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.363, allocations: 99.84 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.913e-05/0.363, allocations: 23.89 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.572e-05/0.3631, allocations: 31.86 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3633, allocations: 139.5 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3633, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3633, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.3633, allocations: 3.938 kB / 1.223 GB, free: 10.98 MB / 0.9825 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.0006367/0.364, allocations: 420.7 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.364, allocations: 8.031 kB / 1.224 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.3641, allocations: 12.89 kB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3642, allocations: 176.3 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.3642, allocations: 12.31 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.3642, allocations: 4.375 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3644, allocations: 73.95 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.3644, allocations: 0 / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.3644, allocations: 3.984 kB / 1.224 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3644, allocations: 7.938 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.3645, allocations: 35.97 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006393/0.3652, allocations: 316.7 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.3653, allocations: 50.48 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.11e-05/0.3654, allocations: 28.97 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3654, allocations: 4 kB / 1.224 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.3656, allocations: 75.38 kB / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.512e-06/0.3656, allocations: 0 / 1.225 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003933/0.366, allocations: 145.6 kB / 1.225 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.3661, allocations: 51.41 kB / 1.225 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.3662, allocations: 125.8 kB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.3662, allocations: 25.7 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.679e-05/0.3662, allocations: 96.14 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3663, allocations: 11.91 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.3663, allocations: 29.7 kB / 1.225 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3664, allocations: 322.8 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-05/0.3665, allocations: 27.98 kB / 1.225 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.594e-05/0.3666, allocations: 46.55 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3667, allocations: 74.81 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3667, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000224/0.367, allocations: 117.5 kB / 1.226 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.367, allocations: 5.875 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.367, allocations: 4 kB / 1.226 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.367, allocations: 4.062 kB / 1.226 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3671, allocations: 15.98 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.3671, allocations: 3.938 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.3672, allocations: 7.938 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3672, allocations: 7.984 kB / 1.226 GB, free: 8.43 MB / 0.9825 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.377e-05/0.3673, allocations: 126.1 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3673, allocations: 7.953 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.3673, allocations: 12.38 kB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3673, allocations: 4 kB / 1.226 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3673, allocations: 3.938 kB / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.3673, allocations: 0 / 1.226 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.3678, allocations: 382.4 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3678, allocations: 0 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.3678, allocations: 7.984 kB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3678, allocations: 0 / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.3678, allocations: 4 kB / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3678, allocations: 0 / 1.226 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.3678, allocations: 11.94 kB / 1.226 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.3681, allocations: 203.5 kB / 1.226 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.739e-05/0.3682, allocations: 89.06 kB / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.3682, allocations: 0 / 1.226 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.3683, allocations: 7.984 kB / 1.226 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.507e-05/0.3683, allocations: 7.938 kB / 1.226 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.3683, allocations: 4 kB / 1.226 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.932e-05/0.3684, allocations: 95.2 kB / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3684, allocations: 0 / 1.227 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000325/0.3687, allocations: 47.86 kB / 1.227 GB, free: 7.332 MB / 0.9825 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.0004225/0.3691, allocations: 164.8 kB / 1.227 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002858/0.3694, allocations: 67.91 kB / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3694, allocations: 0 / 1.227 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3695, allocations: 35.97 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.3698, allocations: 5.484 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.3702, allocations: 196.1 kB / 1.227 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.3706, allocations: 0.6945 MB / 1.228 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.3706, allocations: 7.984 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.926e-05/0.3706, allocations: 11.44 kB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of SimCode: time 3.3e-07/0.3706, allocations: 0 / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of Templates: time 0.004787/0.3754, allocations: 1.456 MB / 1.229 GB, free: 4.672 MB / 0.9825 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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