Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.558/2.558, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 59.91 kB / 0.8693 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5059, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002376/0.5083, allocations: 1.493 MB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.5094, allocations: 0.7323 MB / 1.02 GB, free: 216 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.533e-05/0.5095, allocations: 8 kB / 1.02 GB, free: 208 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.916e-05/0.5095, allocations: 7.922 kB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.5095, allocations: 7.875 kB / 1.02 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.51, allocations: 127.6 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.983e-05/0.5101, allocations: 75.66 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.5102, allocations: 15.98 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.5103, allocations: 31.91 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.5104, allocations: 43.83 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.5104, allocations: 8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.5106, allocations: 95.84 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.521e-05/0.5106, allocations: 19.92 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.5107, allocations: 27.86 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.5109, allocations: 141.9 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.5109, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5109, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5109, allocations: 0 / 1.02 GB, free: 15.61 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.0005527/0.5115, allocations: 428.8 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.5115, allocations: 8.031 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.5115, allocations: 30.75 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.5116, allocations: 12.83 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.38e-05/0.5117, allocations: 176.3 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.203e-05/0.5117, allocations: 8.375 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.5117, allocations: 4.375 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.5119, allocations: 65.78 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5119, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.5119, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5119, allocations: 4 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.5121, allocations: 35.97 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005442/0.5126, allocations: 316.6 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000123/0.5128, allocations: 58.48 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.5129, allocations: 28.97 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.5129, allocations: 7.938 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.5131, allocations: 75.44 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.5131, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003746/0.5135, allocations: 145.5 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.5135, allocations: 51.41 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.028e-05/0.5136, allocations: 121.8 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5136, allocations: 29.7 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.5137, allocations: 88.14 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.5137, allocations: 15.81 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/0.5137, allocations: 25.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.727e-05/0.5138, allocations: 326.8 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.361e-05/0.5139, allocations: 27.98 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.514, allocations: 46.55 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.5142, allocations: 74.5 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5142, allocations: 0 / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002401/0.5144, allocations: 121.4 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.5145, allocations: 8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5145, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.998e-06/0.5145, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.353e-05/0.5146, allocations: 11.98 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.5146, allocations: 4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.578e-05/0.5147, allocations: 15.91 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.5147, allocations: 11.92 kB / 1.022 GB, free: 13.01 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 8.052e-05/0.5148, allocations: 126.9 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.5148, allocations: 0 / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.5148, allocations: 12.31 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5148, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.5149, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.5149, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.5153, allocations: 390.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5153, allocations: 0 / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.5154, allocations: 7.984 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.5154, allocations: 0 / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.5154, allocations: 4 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5154, allocations: 4.016 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5154, allocations: 3.984 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.5157, allocations: 207.5 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.382e-05/0.5157, allocations: 85.02 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.5157, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.878e-05/0.5158, allocations: 11.92 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.5159, allocations: 7.938 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.976e-06/0.5159, allocations: 4 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.646e-05/0.5159, allocations: 95.27 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5159, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002863/0.5162, allocations: 39.98 kB / 1.023 GB, free: 11.93 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.0006806/0.5169, allocations: 0.8065 MB / 1.024 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002258/0.5172, allocations: 75.88 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5172, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.5173, allocations: 35.92 kB / 1.024 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.5175, allocations: 15.92 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.519, allocations: 1.473 MB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.5192, allocations: 0.6924 MB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.465e-05/0.5192, allocations: 4 kB / 1.026 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.43e-05/0.5193, allocations: 27.36 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.5193, allocations: 3.938 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01676/0.536, allocations: 2.61 MB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.843, allocations: 7.703 kB / 1.029 GB, free: 6.18 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Warning: Resultfile and Reference have different end time points! Reffile[551]=3600.000000 File[1236]=2249.280000 Error: Could not read variable win.occ in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.occ from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! Error: Could not read variable win.on in file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv. Warning: Get data of variable win.on from file Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.csv failed! " Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:time,win.TOut,win.p,TOut.amplitude,TOut.f,TOut.offset