Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut",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.001677/0.001678, 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.001883/0.001883, allocations: 193.1 kB / 16.13 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.467/1.467, allocations: 222.9 MB / 239.8 MB, free: 4.508 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.582/2.582, allocations: 437 MB / 0.7099 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.8687 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5557, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.002945/0.5586, allocations: 1.581 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.5599, allocations: 0.7674 MB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.733e-05/0.56, allocations: 0 / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.562e-05/0.5601, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.27e-05/0.5601, allocations: 11.88 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005007/0.5606, allocations: 111.8 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.5608, allocations: 99.73 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.5609, allocations: 8 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.363e-05/0.561, allocations: 43.84 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.5611, allocations: 51.86 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.5611, allocations: 7.938 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.5613, allocations: 95.84 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.838e-05/0.5613, allocations: 19.97 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.927e-05/0.5614, allocations: 39.91 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.5616, allocations: 153.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5616, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5616, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.5616, allocations: 0 / 1.02 GB, free: 15.81 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.0006354/0.5623, allocations: 466.6 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5623, allocations: 12.03 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.5624, allocations: 34.75 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.5624, allocations: 8.844 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.5625, allocations: 180.2 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.5626, allocations: 8.375 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.5626, allocations: 4.375 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.5628, allocations: 89.69 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.5629, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.512e-05/0.5629, allocations: 8 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5629, allocations: 4 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.5631, allocations: 51.84 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000728/0.5638, allocations: 336.6 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.564, allocations: 62.55 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.5641, allocations: 40.84 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.5641, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.5644, allocations: 103.5 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.5644, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005278/0.5649, allocations: 181.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.565, allocations: 55.41 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.816e-05/0.5651, allocations: 121.8 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5651, allocations: 33.7 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.551e-05/0.5652, allocations: 95.98 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5652, allocations: 19.66 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.5653, allocations: 33.7 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5654, allocations: 326.8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.819e-05/0.5655, allocations: 31.92 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.5656, allocations: 64.27 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.5658, allocations: 92.22 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5658, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002731/0.566, allocations: 133.4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5661, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5661, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.5661, allocations: 4.094 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.5662, allocations: 15.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.5662, allocations: 0 / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.5663, allocations: 8 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.5663, allocations: 7.984 kB / 1.022 GB, free: 12.95 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 8.923e-05/0.5664, allocations: 130.2 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.5665, allocations: 7.906 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.5665, allocations: 12.38 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.5665, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5665, allocations: 4.062 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.5665, allocations: 7.969 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005592/0.5671, allocations: 438.6 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5671, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.241e-05/0.5671, allocations: 4 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5671, allocations: 3.938 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.5672, allocations: 7.984 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5672, allocations: 0 / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5672, allocations: 3.938 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003866/0.5676, allocations: 243.4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.5676, allocations: 85.02 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.5676, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5678, allocations: 15.98 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.5678, allocations: 7.938 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.5678, allocations: 3.984 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.997e-05/0.5679, allocations: 99.02 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.375e-06/0.5679, allocations: 0 / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002998/0.5682, allocations: 43.94 kB / 1.023 GB, free: 11.75 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.0008456/0.5691, allocations: 0.8256 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002681/0.5693, allocations: 92.02 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5694, allocations: 3.938 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.5695, allocations: 51.89 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.5698, allocations: 12.78 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.5714, allocations: 1.584 MB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.5717, allocations: 0.6926 MB / 1.026 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.36e-05/0.5717, allocations: 4 kB / 1.026 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.843e-05/0.5718, allocations: 23.42 kB / 1.026 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of SimCode: time 3.3e-07/0.5718, allocations: 0 / 1.026 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.584, allocations: 2.758 MB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.5842, allocations: 255.4 kB / 1.029 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/2.285, allocations: 7.75 kB / 1.029 GB, free: 5.441 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,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.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed