Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.001613/0.001613, 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.001938/0.001938, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.345/2.345, allocations: 437 MB / 0.7104 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 68.05 kB / 0.8694 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5647/0.5661, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001746/0.5679, allocations: 0.6942 MB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.5686, allocations: 0.8079 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.5686, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.427e-05/0.5687, allocations: 3.938 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.581e-05/0.5687, allocations: 11.91 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.155e-05/0.5688, allocations: 7.984 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.735e-05/0.5689, allocations: 47.86 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.569, allocations: 12 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.5e-05/0.5691, allocations: 15.98 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.195e-05/0.5691, allocations: 23.91 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.5691, allocations: 7.938 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.564e-05/0.5691, allocations: 4 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.5692, allocations: 11.94 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.5692, allocations: 19.91 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.906e-05/0.5693, allocations: 35.88 kB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5693, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5693, allocations: 3.938 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.5693, allocations: 0 / 1.019 GB, free: 0.7969 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004286/0.5697, allocations: 371.1 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.5698, allocations: 8.031 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.5698, allocations: 38.73 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.987e-05/0.5698, allocations: 0.9375 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/0.5699, allocations: 168.3 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-06/0.5699, allocations: 384 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.5699, allocations: 384 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002152/0.5702, allocations: 70.22 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.5702, allocations: 7.938 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.5702, allocations: 0 / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.5702, allocations: 3.938 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002774/0.5705, allocations: 63.98 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.5708, allocations: 276.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.571, allocations: 58.53 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.5712, allocations: 36.92 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5712, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.5712, allocations: 38.5 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.11e-07/0.5712, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005119/0.5717, allocations: 133.5 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.5718, allocations: 59.34 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.001e-05/0.5718, allocations: 109.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.5719, allocations: 29.7 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.552e-05/0.5719, allocations: 88.12 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.5719, allocations: 15.83 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.572, allocations: 13.72 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.572, allocations: 314.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.5722, allocations: 31.95 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.5723, allocations: 39.91 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.5726, allocations: 68.72 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5726, allocations: 0 / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003008/0.5729, allocations: 101.5 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.5729, allocations: 9.719 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.636e-06/0.5729, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.5729, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.5731, allocations: 23.91 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.5731, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.16e-05/0.5732, allocations: 7.984 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.5732, allocations: 4 kB / 1.021 GB, free: 14.42 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 (3): * Single equations (assignments): 3 * 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 6.169e-05/0.5732, allocations: 121.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.5733, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.5736, allocations: 97.52 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5736, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.5736, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.5736, allocations: 0 / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.5738, allocations: 181.5 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5738, allocations: 0 / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.5739, allocations: 11.98 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.5739, allocations: 0 / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.5739, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5739, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5739, allocations: 0 / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.5742, allocations: 203.3 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.5743, allocations: 77.11 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5743, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.876e-05/0.5744, allocations: 7.984 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.5744, allocations: 11.98 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5744, allocations: 4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.658e-05/0.5745, allocations: 91.28 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5745, allocations: 0 / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002029/0.5747, allocations: 7.906 kB / 1.022 GB, free: 13.5 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 (3): * Single equations (assignments): 3 * 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.0005761/0.5753, allocations: 0.7361 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003166/0.5756, allocations: 71.95 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.5756, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.5758, allocations: 35.95 kB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002655/0.576, allocations: 12 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.5764, allocations: 159.2 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.5766, allocations: 0.6768 MB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.5766, allocations: 4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.5767, allocations: 23.42 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5767, allocations: 3.938 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.359/1.936, allocations: 1.579 MB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/10.44, allocations: 11.3 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches