Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001028/0.001029, allocations: 95.92 kB / 15.36 MB, free: 0.7344 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.009634/0.009634, allocations: 170.8 kB / 16.27 MB, free: 6.648 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.494/1.494, allocations: 223.3 MB / 240.3 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437.8 MB / 0.7121 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003497, allocations: 8 kB / 0.8728 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7639/0.7643, allocations: 153.8 MB / 1.023 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001741/0.7661, allocations: 1.223 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.7673, allocations: 0.7131 MB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.438e-05/0.7674, allocations: 0 / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.7674, allocations: 3.938 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.7675, allocations: 15.86 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004494/0.7679, allocations: 107.8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.591e-05/0.768, allocations: 71.77 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.7681, allocations: 12 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.23e-05/0.7682, allocations: 27.86 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.679e-05/0.7683, allocations: 39.81 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.7683, allocations: 4 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000186/0.7685, allocations: 91.91 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.7685, allocations: 15.92 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.239e-05/0.7686, allocations: 57.55 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.7688, allocations: 133.6 kB / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7688, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.592e-06/0.7688, allocations: 0 / 1.025 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.7688, allocations: 4 kB / 1.025 GB, free: 13.34 MB / 0.7794 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.000546/0.7694, allocations: 413 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7694, allocations: 12.02 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.7695, allocations: 8.844 kB / 1.026 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.7696, allocations: 168.3 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.865e-05/0.7696, allocations: 4.375 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.7696, allocations: 4.375 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.7698, allocations: 77.97 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.7698, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.7699, allocations: 0 / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.7699, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.77, allocations: 47.91 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005928/0.7706, allocations: 328.7 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.7707, allocations: 46.56 kB / 1.027 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.496e-05/0.7708, allocations: 36.97 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.7709, allocations: 0 / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.7711, allocations: 91.22 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 3.046e-06/0.7711, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003966/0.7715, allocations: 141.6 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.7715, allocations: 55.41 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.7716, allocations: 133.7 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.7717, allocations: 25.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.409e-05/0.7717, allocations: 88.14 kB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.7718, allocations: 23.86 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.7718, allocations: 17.72 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7719, allocations: 322.8 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.104e-05/0.772, allocations: 35.92 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.596e-05/0.7721, allocations: 50.56 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.7723, allocations: 78.55 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.7723, allocations: 3.938 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002533/0.7726, allocations: 117.8 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.7726, allocations: 8 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7726, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.7726, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.7727, allocations: 23.98 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7727, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.7728, allocations: 11.94 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.7728, allocations: 4 kB / 1.028 GB, free: 10.76 MB / 0.7794 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 0.0001045/0.7729, allocations: 123.8 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.773, allocations: 7.906 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.773, allocations: 8.375 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.773, allocations: 4 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.773, allocations: 4 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.773, allocations: 0 / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.7735, allocations: 390.3 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7735, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.23e-05/0.7735, allocations: 11.98 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.7735, allocations: 0 / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7735, allocations: 4 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7736, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7736, allocations: 3.938 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.7739, allocations: 215.3 kB / 1.028 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.7739, allocations: 85.02 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.7739, allocations: 8 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.774, allocations: 4 kB / 1.029 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.445e-05/0.7741, allocations: 15.91 kB / 1.029 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.7741, allocations: 4 kB / 1.029 GB, free: 9.789 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.7742, allocations: 95.27 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7742, allocations: 0 / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003013/0.7745, allocations: 39.98 kB / 1.029 GB, free: 9.656 MB / 0.7794 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.0003312/0.7748, allocations: 165.5 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.7751, allocations: 75.89 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7751, allocations: 0 / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.7752, allocations: 48.03 kB / 1.029 GB, free: 9.379 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.7754, allocations: 10.64 kB / 1.029 GB, free: 9.371 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003705/0.7758, allocations: 201.1 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.7761, allocations: 0.6926 MB / 1.03 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.7761, allocations: 4 kB / 1.03 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.7761, allocations: 7.438 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.7761, allocations: 4 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of Templates: time 0.00408/0.7802, allocations: 1.368 MB / 1.031 GB, free: 7.051 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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