Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_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.001835/0.001835, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00204/0.00204, allocations: 195.8 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.409/2.409, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.671/4.671, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002481/0.002481, allocations: 63.25 kB / 0.8987 GB, free: 37.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4637, allocations: 157.4 MB / 1.052 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.004644/0.4684, allocations: 1.576 MB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01025/0.4787, allocations: 0.7206 MB / 1.055 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.593e-05/0.4788, allocations: 7.938 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.614e-05/0.4788, allocations: 3.938 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.299e-05/0.479, allocations: 11.92 kB / 1.055 GB, free: 6.359 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008703/0.4799, allocations: 103.8 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4801, allocations: 75.83 kB / 1.055 GB, free: 6.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4802, allocations: 8 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.4804, allocations: 31.91 kB / 1.055 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.4805, allocations: 47.83 kB / 1.055 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.4805, allocations: 11.94 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003108/0.4809, allocations: 91.91 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.051e-05/0.4809, allocations: 15.92 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.855e-05/0.481, allocations: 35.84 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.4814, allocations: 143.9 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.4814, allocations: 0 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4814, allocations: 3.938 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.4814, allocations: 0 / 1.055 GB, free: 5.801 MB / 0.8106 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.0009524/0.4824, allocations: 417 kB / 1.056 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4825, allocations: 8.625 kB / 1.056 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.764e-05/0.4826, allocations: 34.75 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.4826, allocations: 8.844 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.4828, allocations: 180.2 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.4829, allocations: 8.312 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.4829, allocations: 8.375 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.4832, allocations: 65.78 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4833, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.4833, allocations: 8 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.4833, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00023/0.4836, allocations: 43.84 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.4845, allocations: 312.8 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.4847, allocations: 50.56 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4849, allocations: 28.97 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.4849, allocations: 11.98 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.4853, allocations: 71.33 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.354e-06/0.4853, allocations: 0 / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006653/0.4859, allocations: 145.5 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.486, allocations: 51.41 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.4862, allocations: 117.8 kB / 1.057 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.4862, allocations: 29.69 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.344e-05/0.4863, allocations: 100.1 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.4864, allocations: 11.84 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.4865, allocations: 29.7 kB / 1.057 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4867, allocations: 326.8 kB / 1.057 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.4868, allocations: 31.92 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.487, allocations: 50.56 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.4873, allocations: 66.55 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4873, allocations: 4 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004414/0.4878, allocations: 109.5 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4878, allocations: 8 kB / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.4878, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.4879, allocations: 0 / 1.057 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.488, allocations: 15.92 kB / 1.057 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.4881, allocations: 4 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4882, allocations: 15.84 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.4882, allocations: 4.062 kB / 1.057 GB, free: 3.215 MB / 0.8106 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.0001546/0.4884, allocations: 127.3 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.4884, allocations: 7.891 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.4885, allocations: 12.38 kB / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.4885, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4885, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.4885, allocations: 0 / 1.058 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.4893, allocations: 390.3 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4893, allocations: 0 / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.686e-05/0.4894, allocations: 7.984 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4894, allocations: 3.938 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4895, allocations: 4 kB / 1.058 GB, free: 2.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.4895, allocations: 3.938 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4895, allocations: 0 / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.4907, allocations: 219.8 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.817e-05/0.4908, allocations: 77.11 kB / 1.058 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.4908, allocations: 4 kB / 1.058 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.491, allocations: 7.938 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.4911, allocations: 7.984 kB / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4911, allocations: 0 / 1.058 GB, free: 2.262 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.021e-05/0.4912, allocations: 95.27 kB / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4912, allocations: 0 / 1.058 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005716/0.4918, allocations: 43.89 kB / 1.058 GB, free: 2.125 MB / 0.8106 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.001241/0.4931, allocations: 0.8039 MB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.4935, allocations: 75.83 kB / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4935, allocations: 0 / 1.059 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.4937, allocations: 39.92 kB / 1.059 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004697/0.4942, allocations: 11.92 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.497, allocations: 1.495 MB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.4974, allocations: 0.6961 MB / 1.061 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.493e-05/0.4975, allocations: 4 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.4976, allocations: 19.42 kB / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of SimCode: time 8.82e-07/0.4976, allocations: 0 / 1.062 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06854/0.5661, allocations: 2.509 MB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004204/0.5666, allocations: 274.6 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.859/4.426, allocations: 0 / 1.064 GB, free: 12.15 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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