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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.0007429/0.0007429, allocations: 97.95 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.004837/0.004837, allocations: 172.6 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.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003016/0.0003016, allocations: 12.19 kB / 0.8729 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.4999, allocations: 153.8 MB / 1.023 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001483/0.5014, allocations: 1.215 MB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.5026, allocations: 0.7209 MB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.5026, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.5027, allocations: 7.922 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.502e-05/0.5027, allocations: 11.88 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.5032, allocations: 103.8 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.5033, allocations: 71.78 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.397e-05/0.5034, allocations: 11.97 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.284e-05/0.5034, allocations: 23.92 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.5035, allocations: 39.83 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.5035, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001667/0.5037, allocations: 91.84 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.5037, allocations: 15.92 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.479e-05/0.5038, allocations: 53.56 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.504, allocations: 137.9 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.504, allocations: 4 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.504, allocations: 0 / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.496e-06/0.504, allocations: 0 / 1.026 GB, free: 13.46 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.0005159/0.5045, allocations: 405 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.5046, allocations: 8.031 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.5046, allocations: 38.73 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.5047, allocations: 12.84 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5048, allocations: 176.2 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.5048, allocations: 4.375 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.5048, allocations: 8.375 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.505, allocations: 73.77 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.505, allocations: 0 / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.505, allocations: 3.938 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5051, allocations: 4 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.5052, allocations: 43.97 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005457/0.5058, allocations: 328.5 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.5059, allocations: 58.55 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.565e-05/0.506, allocations: 32.97 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.506, allocations: 0 / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.5062, allocations: 87.38 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5062, allocations: 0 / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003904/0.5066, allocations: 141.6 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.5067, allocations: 59.41 kB / 1.027 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.798e-05/0.5068, allocations: 129.7 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.5068, allocations: 25.7 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.453e-05/0.5068, allocations: 88.14 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.5068, allocations: 15.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.891e-05/0.5069, allocations: 17.72 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.507, allocations: 326.8 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.5071, allocations: 27.98 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.231e-05/0.5072, allocations: 51 kB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.5073, allocations: 78.48 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5074, allocations: 8 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002414/0.5076, allocations: 117.5 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.5076, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5076, allocations: 0 / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.5077, allocations: 4 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.5078, allocations: 19.92 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5078, allocations: 4.062 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.494e-05/0.5078, allocations: 11.94 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.5079, allocations: 8 kB / 1.028 GB, free: 10.83 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.986e-05/0.508, allocations: 127.2 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.508, allocations: 7.906 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.508, allocations: 8.375 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.508, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.508, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.508, allocations: 7.984 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004264/0.5085, allocations: 390.4 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5085, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.13e-05/0.5085, allocations: 7.984 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.5085, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.5085, allocations: 4 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.5085, allocations: 7.938 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5086, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.5088, allocations: 219.8 kB / 1.029 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.169e-05/0.5089, allocations: 81.02 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.5089, allocations: 8 kB / 1.029 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.509, allocations: 11.94 kB / 1.029 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.509, allocations: 3.984 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.5091, allocations: 4 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.5091, allocations: 95.42 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5091, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002807/0.5094, allocations: 39.98 kB / 1.029 GB, free: 9.727 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.0007146/0.5101, allocations: 0.8037 MB / 1.03 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002312/0.5104, allocations: 87.88 kB / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5104, allocations: 0 / 1.03 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.807e-05/0.5105, allocations: 43.86 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.5107, allocations: 12.48 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.5122, allocations: 1.518 MB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.5124, allocations: 0.6848 MB / 1.032 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.5125, allocations: 7.984 kB / 1.032 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.249e-05/0.5125, allocations: 23.38 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.5125, allocations: 4 kB / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/0.5237, allocations: 2.33 MB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.5239, allocations: 273.5 kB / 1.035 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.518/2.042, allocations: 0 / 1.035 GB, free: 3.898 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > 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/jenkins1/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,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed