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.0009147/0.0009145, allocations: 97.64 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.01009/0.01009, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.675/1.675, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.676/2.676, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.000409, allocations: 15.98 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6576, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001571/0.6592, allocations: 1.235 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.6604, allocations: 0.7442 MB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.6605, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.6605, allocations: 3.938 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.783e-05/0.6605, allocations: 11.92 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.6611, allocations: 119.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.6612, allocations: 99.69 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.806e-05/0.6613, allocations: 11.98 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.6614, allocations: 35.91 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.6615, allocations: 51.81 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.6615, allocations: 8 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001754/0.6617, allocations: 91.84 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.7e-05/0.6617, allocations: 19.91 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.883e-05/0.6618, allocations: 65.48 kB / 1.026 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.662, allocations: 157.9 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.662, allocations: 4 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.662, allocations: 0 / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.662, allocations: 0 / 1.026 GB, free: 13.23 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.0005549/0.6626, allocations: 446.6 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.6626, allocations: 8.031 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.876e-05/0.6627, allocations: 46.73 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.6627, allocations: 12.78 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6628, allocations: 176.2 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.6629, allocations: 4.375 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.6629, allocations: 12.36 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.6632, allocations: 89.77 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.6632, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.6632, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.6632, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.6634, allocations: 59.89 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.6641, allocations: 340.7 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001587/0.6643, allocations: 58.59 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.6644, allocations: 56.77 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.6644, allocations: 4 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.6647, allocations: 91.36 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.6647, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005388/0.6652, allocations: 201.6 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.6653, allocations: 51.41 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.302e-05/0.6654, allocations: 133.8 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.6654, allocations: 25.7 kB / 1.027 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.6654, allocations: 99.91 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.6655, allocations: 23.75 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.6655, allocations: 21.7 kB / 1.028 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.6656, allocations: 322.8 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.6657, allocations: 31.98 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.6658, allocations: 68.27 kB / 1.028 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.666, allocations: 96.2 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.666, allocations: 0 / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004748/0.6665, allocations: 145.4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6666, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.6666, allocations: 0 / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.6666, allocations: 4 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.6668, allocations: 15.98 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.6668, allocations: 0 / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.6669, allocations: 16.09 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.667, allocations: 7.984 kB / 1.028 GB, free: 10.34 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.000107/0.6671, allocations: 122.2 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.6671, allocations: 7.906 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.578e-05/0.6671, allocations: 12.38 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6671, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6672, allocations: 0 / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6672, allocations: 7.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005357/0.6677, allocations: 438.2 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.6677, allocations: 64 / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.6678, allocations: 8 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6678, allocations: 4 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.6678, allocations: 11.98 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.6678, allocations: 3.938 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.6678, allocations: 4.328 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.6682, allocations: 251.4 kB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.327e-05/0.6682, allocations: 85.02 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.6682, allocations: 4 kB / 1.029 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.6684, allocations: 7.984 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.6684, allocations: 11.88 kB / 1.029 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.6684, allocations: 11.98 kB / 1.029 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.6685, allocations: 94.77 kB / 1.029 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6685, allocations: 4 kB / 1.029 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002835/0.6688, allocations: 36 kB / 1.029 GB, free: 9.137 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.000812/0.6696, allocations: 0.8426 MB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.6699, allocations: 91.89 kB / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.6699, allocations: 0 / 1.03 GB, free: 8.191 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.67, allocations: 52.09 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.6703, allocations: 19.84 kB / 1.03 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.6719, allocations: 1.619 MB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.6721, allocations: 0.6903 MB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.978e-05/0.6722, allocations: 4 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.6722, allocations: 23.42 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6722, allocations: 0 / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/3.135, allocations: 2.66 MB / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/3.135, allocations: 255.9 kB / 1.035 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.09/6.226, allocations: 6.172 kB / 1.035 GB, free: 2.887 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