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.001152/0.001152, allocations: 119.8 kB / 16.42 MB, free: 6.496 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.001006/0.001006, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 55.91 kB / 0.9515 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6507/0.652, allocations: 140.4 MB / 1.089 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.00218/0.6542, allocations: 1.507 MB / 1.09 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.6552, allocations: 0.7248 MB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.6553, allocations: 1.156 kB / 1.091 GB, free: 4 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/0.6553, allocations: 8.5 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.467e-05/0.6554, allocations: 14.42 kB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.6558, allocations: 121.9 kB / 1.091 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.656, allocations: 77.75 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.298e-05/0.656, allocations: 6.672 kB / 1.091 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.6561, allocations: 34.88 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.6562, allocations: 45.8 kB / 1.091 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.6562, allocations: 10.34 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001911/0.6564, allocations: 94.28 kB / 1.091 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.6565, allocations: 11.16 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.6565, allocations: 39.31 kB / 1.091 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.6567, allocations: 142.1 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6567, allocations: 0 / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6568, allocations: 0.7812 kB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.6568, allocations: 3.938 kB / 1.091 GB, free: 3.734 MB / 0.8575 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.0005056/0.6573, allocations: 420.5 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.6573, allocations: 9.5 kB / 1.092 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.6574, allocations: 8.844 kB / 1.092 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.967e-05/0.6574, allocations: 177.2 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.6575, allocations: 2.969 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.6575, allocations: 5.391 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.6577, allocations: 72.02 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.6577, allocations: 0 / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.6577, allocations: 2.516 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.6577, allocations: 4 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.6578, allocations: 43.67 kB / 1.092 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.6583, allocations: 318.7 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.6585, allocations: 45.94 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.6586, allocations: 36.48 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.6586, allocations: 0.75 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001922/0.6588, allocations: 77.95 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.6588, allocations: 0 / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004578/0.6593, allocations: 141.5 kB / 1.093 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.6593, allocations: 57.16 kB / 1.093 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6594, allocations: 123.1 kB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.6595, allocations: 31.34 kB / 1.093 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.45e-05/0.6595, allocations: 91.95 kB / 1.093 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.6595, allocations: 12.41 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.217e-05/0.6596, allocations: 29.75 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.6596, allocations: 318.4 kB / 1.093 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.973e-05/0.6597, allocations: 31.72 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.944e-05/0.6598, allocations: 50.5 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.66, allocations: 67.88 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.66, allocations: 1.5 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002605/0.6603, allocations: 117.1 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6603, allocations: 4.5 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6603, allocations: 1.469 kB / 1.094 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6604, allocations: 4.844 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.6605, allocations: 11.25 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.6605, allocations: 1.672 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.208e-05/0.6606, allocations: 13.94 kB / 1.094 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.6606, allocations: 7.641 kB / 1.094 GB, free: 1.754 MB / 0.8575 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 7.989e-05/0.6607, allocations: 122.9 kB / 1.094 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.6607, allocations: 8.422 kB / 1.094 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.6607, allocations: 10.09 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.6607, allocations: 5.719 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6608, allocations: 3.938 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.6608, allocations: 79.69 kB / 1.094 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.6608, allocations: 5.859 kB / 1.094 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.6609, allocations: 8.531 kB / 1.094 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.6609, allocations: 9.016 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002969/0.6612, allocations: 191.6 kB / 1.094 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003054/0.6616, allocations: 287.4 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001067/0.6617, allocations: 38.19 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.6617, allocations: 93.11 kB / 1.094 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of Backend: time 1.012e-06/0.6617, allocations: 4 kB / 1.094 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0007404/0.6625, allocations: 178.5 kB / 1.095 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of SimCode: time 0.0003381/0.6628, allocations: 0.6199 MB / 1.095 GB, free: 336 kB / 0.8575 GB Notification: Performance of Templates: time 0.004234/0.6671, allocations: 1.498 MB / 1.097 GB, free: 184 kB / 0.8575 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/jenkins1/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