Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001647/0.001647, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001913/0.001913, allocations: 186.7 kB / 16.25 MB, free: 6.645 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.514/2.514, allocations: 390.2 MB / 0.6644 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 71.88 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8271/0.8284, allocations: 140.4 MB / 0.9491 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.003634/0.8321, allocations: 1.555 MB / 0.9506 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.8337, allocations: 0.7219 MB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.8338, allocations: 0 / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.265e-05/0.8338, allocations: 0 / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.834, allocations: 13.23 kB / 0.9513 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.8348, allocations: 114.7 kB / 0.9514 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.835, allocations: 75.92 kB / 0.9515 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.8351, allocations: 17.45 kB / 0.9515 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.8352, allocations: 37.2 kB / 0.9516 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.8353, allocations: 34.91 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.8354, allocations: 6.969 kB / 0.9516 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002676/0.8356, allocations: 98.03 kB / 0.9517 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.367e-05/0.8357, allocations: 23.16 kB / 0.9517 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.298e-05/0.8357, allocations: 27.7 kB / 0.9518 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.8361, allocations: 140.2 kB / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.8361, allocations: 0 / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8361, allocations: 0 / 0.9519 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.8361, allocations: 1.094 kB / 0.9519 GB, free: 7.238 MB / 0.7169 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.0006952/0.8368, allocations: 427.5 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.8369, allocations: 9.375 kB / 0.9523 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.416e-05/0.8369, allocations: 9.156 kB / 0.9523 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.865e-05/0.8371, allocations: 171 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.8371, allocations: 3.156 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.8371, allocations: 12.58 kB / 0.9525 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.8373, allocations: 67.97 kB / 0.9526 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.8373, allocations: 4 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.8374, allocations: 1.344 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.8374, allocations: 1.219 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.8375, allocations: 43.39 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.8381, allocations: 321.8 kB / 0.9529 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.8382, allocations: 44.66 kB / 0.953 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.519e-05/0.8383, allocations: 31.66 kB / 0.953 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.8383, allocations: 5.594 kB / 0.953 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.8385, allocations: 77.47 kB / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.8385, allocations: 0 / 0.9531 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003842/0.8389, allocations: 143.8 kB / 0.9532 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.839, allocations: 58.03 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.8391, allocations: 121 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.8391, allocations: 27.14 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.8392, allocations: 90.72 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.8392, allocations: 18.47 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.8392, allocations: 34.33 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.961e-05/0.8393, allocations: 320 kB / 0.9538 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.45e-05/0.8394, allocations: 26.84 kB / 0.9539 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.521e-05/0.8395, allocations: 48.81 kB / 0.9539 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.8397, allocations: 72.86 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8397, allocations: 1.25 kB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002132/0.8399, allocations: 117 kB / 0.9541 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.8399, allocations: 9.75 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.8399, allocations: 0 / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.8399, allocations: 1.406 kB / 0.9541 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.976e-05/0.84, allocations: 13.55 kB / 0.9541 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.8401, allocations: 3.938 kB / 0.9541 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.8401, allocations: 12.59 kB / 0.9541 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.8402, allocations: 3.031 kB / 0.9541 GB, free: 5.09 MB / 0.7169 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.566e-05/0.8402, allocations: 122.5 kB / 0.9542 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.8403, allocations: 14.62 kB / 0.9543 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.8403, allocations: 10.12 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.8403, allocations: 1.531 kB / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.8403, allocations: 0 / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8403, allocations: 0 / 0.9543 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.8408, allocations: 382.7 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.8408, allocations: 1.062 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.8408, allocations: 6.688 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8408, allocations: 1.031 kB / 0.9546 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.8408, allocations: 9.234 kB / 0.9547 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8409, allocations: 0 / 0.9547 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.8409, allocations: 5.125 kB / 0.9547 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.8411, allocations: 201.4 kB / 0.9549 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.8411, allocations: 87.34 kB / 0.9549 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.8412, allocations: 8.906 kB / 0.9549 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.416e-05/0.8413, allocations: 14.19 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.8413, allocations: 11.39 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.8413, allocations: 1.188 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.753e-05/0.8414, allocations: 97.64 kB / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8414, allocations: 0 / 0.9551 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000308/0.8417, allocations: 35.94 kB / 0.9551 GB, free: 4.172 MB / 0.7169 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.000355/0.842, allocations: 163.1 kB / 0.9553 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.8423, allocations: 69.83 kB / 0.9553 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8423, allocations: 4 kB / 0.9553 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.257e-05/0.8424, allocations: 32.61 kB / 0.9554 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.8427, allocations: 7.406 kB / 0.9554 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003766/0.843, allocations: 203.3 kB / 0.9556 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.8432, allocations: 0.692 MB / 0.9562 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.8432, allocations: 7.625 kB / 0.9562 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.8433, allocations: 13.8 kB / 0.9563 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8433, allocations: 1.156 kB / 0.9563 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of Templates: time 0.004258/0.8475, allocations: 1.41 MB / 0.9576 GB, free: 2.379 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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