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.001224/0.001224, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001054/0.001054, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.321/1.321, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.769/2.769, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 59.91 kB / 0.8687 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.688/0.6895, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002788/0.6923, allocations: 1.555 MB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.6936, allocations: 0.744 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.6937, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.6937, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.6938, allocations: 11.92 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.6943, allocations: 103.8 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.6944, allocations: 67.84 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.213e-05/0.6945, allocations: 4 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.828e-05/0.6946, allocations: 43.83 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.353e-05/0.6947, allocations: 27.91 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.725e-05/0.6947, allocations: 4 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.6949, allocations: 91.84 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.6949, allocations: 23.91 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.695, allocations: 27.86 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.6952, allocations: 137.9 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6952, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6952, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.6952, allocations: 3.938 kB / 1.019 GB, free: 15.91 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.0006773/0.6959, allocations: 417 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.696, allocations: 8.031 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.696, allocations: 42.75 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.045e-05/0.6961, allocations: 8.844 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.6962, allocations: 176.2 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.6963, allocations: 384 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.6963, allocations: 8.375 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.6965, allocations: 81.73 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6965, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.6965, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.6965, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.6967, allocations: 43.91 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.6973, allocations: 316.7 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.6975, allocations: 46.55 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.453e-05/0.6976, allocations: 36.97 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.6976, allocations: 0 / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.6978, allocations: 83.31 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.6978, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003805/0.6982, allocations: 133.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.6982, allocations: 59.41 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.6983, allocations: 129.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.6984, allocations: 25.7 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.6984, allocations: 88.14 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.6984, allocations: 11.81 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.6985, allocations: 29.7 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.6986, allocations: 330.7 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.6987, allocations: 27.92 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.222e-05/0.6988, allocations: 50.55 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.699, allocations: 66.56 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.699, allocations: 3.938 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002414/0.6992, allocations: 121.5 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.6993, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.6993, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6993, allocations: 4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.6994, allocations: 15.92 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6994, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.6995, allocations: 15.84 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.59e-05/0.6995, allocations: 7.984 kB / 1.022 GB, free: 13.3 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 9.971e-05/0.6996, allocations: 121.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.6996, allocations: 8 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.6997, allocations: 8.375 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.6997, allocations: 4 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6997, allocations: 0 / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.6997, allocations: 3.984 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.7001, allocations: 374.3 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.7002, allocations: 0 / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.7002, allocations: 11.98 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7002, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.7002, allocations: 4 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7002, allocations: 3.938 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.7002, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.7005, allocations: 211.8 kB / 1.022 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.061e-05/0.7006, allocations: 81.11 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.7006, allocations: 4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.7007, allocations: 15.92 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.7008, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.7008, allocations: 4 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.428e-05/0.7008, allocations: 91.27 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7008, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003059/0.7012, allocations: 39.98 kB / 1.023 GB, free: 12.23 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.0008061/0.702, allocations: 0.8227 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.7022, allocations: 71.95 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.7022, allocations: 8.062 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.7023, allocations: 31.98 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.7026, allocations: 18.92 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.7041, allocations: 1.476 MB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.7044, allocations: 0.6887 MB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.614e-05/0.7045, allocations: 4 kB / 1.026 GB, free: 8.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.594e-05/0.7045, allocations: 27.42 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7045, allocations: 0 / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0126/0.7171, allocations: 2.434 MB / 1.028 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.7174, allocations: 277.5 kB / 1.028 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.565, allocations: 0 / 1.028 GB, free: 6.32 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