Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Round,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round",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.001329/0.001329, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.405/1.405, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.673/2.673, allocations: 437.1 MB / 0.7104 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.89 kB / 0.8694 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6506/0.6518, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Round): time 0.002424/0.6543, allocations: 0.7659 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.6554, allocations: 0.8506 MB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.101e-05/0.6555, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.6555, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.6556, allocations: 11.88 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.6558, allocations: 31.97 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.6559, allocations: 67.88 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.656, allocations: 23.97 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.219e-05/0.6561, allocations: 35.8 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.6562, allocations: 39.83 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.345e-05/0.6562, allocations: 8 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.731e-05/0.6562, allocations: 12 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.6563, allocations: 15.97 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.6563, allocations: 35.8 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.6564, allocations: 71.75 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.6564, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.203e-06/0.6564, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.6564, allocations: 0 / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005294/0.657, allocations: 377.4 kB / 1.02 GB, free: 136 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.657, allocations: 8.031 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.099e-05/0.6571, allocations: 42.75 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.6571, allocations: 8.844 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.6572, allocations: 184.1 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.6573, allocations: 384 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.6573, allocations: 8.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.6575, allocations: 82.14 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.6575, allocations: 3.938 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.6575, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6576, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.6578, allocations: 71.94 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.6583, allocations: 320.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.6585, allocations: 82.55 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.6586, allocations: 40.92 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.759e-05/0.6587, allocations: 3.984 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.6587, allocations: 30.56 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.6587, allocations: 0 / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004819/0.6592, allocations: 145.5 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.6592, allocations: 51.41 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.292e-05/0.6593, allocations: 121.8 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.6594, allocations: 29.7 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.6594, allocations: 95.98 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.6595, allocations: 15.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.6595, allocations: 17.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.6596, allocations: 326.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.6597, allocations: 31.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.6599, allocations: 31.97 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.6601, allocations: 73.12 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6601, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002738/0.6604, allocations: 101.7 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6604, allocations: 15.94 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.6604, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.6604, allocations: 0 / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.6606, allocations: 23.97 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.6606, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.758e-05/0.6607, allocations: 4 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.6607, allocations: 3.984 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 7.96e-05/0.6608, allocations: 125.7 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.6608, allocations: 11.91 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.288e-05/0.6608, allocations: 8.375 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.6609, allocations: 0 / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6609, allocations: 4 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.6609, allocations: 0 / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.6611, allocations: 193.6 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.6611, allocations: 3.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.6612, allocations: 15.98 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6612, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.6612, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.6612, allocations: 4 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6612, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003575/0.6616, allocations: 207.3 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.6616, allocations: 85 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.6617, allocations: 7.938 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.6618, allocations: 8.125 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.6618, allocations: 19.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.6618, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.25e-05/0.6619, allocations: 95.27 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6619, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002208/0.6621, allocations: 8 kB / 1.022 GB, free: 13.13 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.000598/0.6627, allocations: 0.7397 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002817/0.663, allocations: 75.88 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.663, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.6632, allocations: 39.97 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.6635, allocations: 15.88 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.6652, allocations: 1.444 MB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6656, allocations: 0.6924 MB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.544e-05/0.6656, allocations: 4 kB / 1.025 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.718e-05/0.6657, allocations: 23.42 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6657, allocations: 0 / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01849/0.6842, allocations: 2.266 MB / 1.028 GB, free: 7.762 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.612/8.297, allocations: 17.92 kB / 1.028 GB, free: 7.746 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Round.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Round.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Round.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches