Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.001384/0.001384, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001562/0.001562, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.664/2.664, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.89 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.5802, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.002716/0.583, allocations: 1.569 MB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.5843, allocations: 0.7674 MB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.5844, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.5844, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.261e-05/0.5845, allocations: 15.86 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.585, allocations: 111.8 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.5851, allocations: 103.7 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.894e-05/0.5852, allocations: 8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.753e-05/0.5853, allocations: 43.89 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.5854, allocations: 55.8 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.5855, allocations: 8 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.5857, allocations: 87.95 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.778e-05/0.5857, allocations: 19.81 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.627e-05/0.5858, allocations: 43.77 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.586, allocations: 165.9 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.586, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.11e-07/0.5861, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.646e-06/0.5861, allocations: 0 / 1.02 GB, free: 15.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006197/0.5867, allocations: 454.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5867, allocations: 12.03 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.5868, allocations: 34.73 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.5868, allocations: 8.844 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.5869, allocations: 176.2 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.587, allocations: 12.31 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.587, allocations: 4.375 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.5872, allocations: 89.75 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.5873, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.5873, allocations: 7.984 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5873, allocations: 0 / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001908/0.5875, allocations: 43.97 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.5882, allocations: 356.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.5884, allocations: 62.55 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.5886, allocations: 48.83 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.5886, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002509/0.5889, allocations: 91.39 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.5889, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005825/0.5895, allocations: 193.6 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5895, allocations: 55.41 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.5896, allocations: 129.8 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.5897, allocations: 25.7 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.5897, allocations: 99.98 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.5898, allocations: 23.66 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.5898, allocations: 29.7 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.5899, allocations: 326.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.874e-05/0.59, allocations: 35.98 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.5902, allocations: 64.2 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001759/0.5903, allocations: 92.22 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5904, allocations: 3.984 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002692/0.5906, allocations: 125.5 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.5907, allocations: 4 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5907, allocations: 4 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.5907, allocations: 48 / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.5908, allocations: 23.91 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.5908, allocations: 4.094 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.5909, allocations: 8 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.5909, allocations: 7.984 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001078/0.5911, allocations: 128.1 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.5911, allocations: 7.906 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.5911, allocations: 8.375 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5911, allocations: 4 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5911, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5911, allocations: 3.984 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005984/0.5917, allocations: 426.4 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.5918, allocations: 0 / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.5918, allocations: 7.984 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.5918, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5918, allocations: 11.88 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5918, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5919, allocations: 7.938 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003913/0.5923, allocations: 243.8 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.5923, allocations: 85.02 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.5923, allocations: 4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.5925, allocations: 7.984 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5925, allocations: 11.94 kB / 1.023 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.5926, allocations: 3.984 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.375e-05/0.5926, allocations: 103.1 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5926, allocations: 0 / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003141/0.5929, allocations: 40 kB / 1.023 GB, free: 11.71 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008808/0.5938, allocations: 0.8437 MB / 1.024 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00029/0.5941, allocations: 87.89 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5941, allocations: 4.188 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.5943, allocations: 47.97 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.5946, allocations: 19.86 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.5965, allocations: 1.581 MB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.5968, allocations: 0.6926 MB / 1.026 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.931e-05/0.5968, allocations: 12.02 kB / 1.026 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.5969, allocations: 23.42 kB / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5969, allocations: 0 / 1.026 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.6096, allocations: 2.761 MB / 1.029 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/0.6098, allocations: 262.8 kB / 1.029 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.344, allocations: 0 / 1.029 GB, free: 5.363 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed