Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",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.007117/0.007117, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001378/0.001377, allocations: 189 kB / 16.67 MB, free: 5.969 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.448/2.448, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 67.84 kB / 1.054 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7755/0.7769, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1752/0.9521, allocations: 174 MB / 1.377 GB, free: 14.88 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009712/0.9619, allocations: 9.503 MB / 1.386 GB, free: 5.344 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000399/0.9623, allocations: 8 kB / 1.386 GB, free: 5.336 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.9631, allocations: 190.7 kB / 1.387 GB, free: 5.148 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004228/0.9636, allocations: 95.31 kB / 1.387 GB, free: 5.055 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.9639, allocations: 59.92 kB / 1.387 GB, free: 4.996 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.9644, allocations: 314.7 kB / 1.387 GB, free: 4.688 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.9647, allocations: 148.5 kB / 1.387 GB, free: 4.539 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004401/0.9652, allocations: 163.3 kB / 1.387 GB, free: 4.379 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.9654, allocations: 111.5 kB / 1.388 GB, free: 4.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.718e-05/0.9654, allocations: 16 kB / 1.388 GB, free: 4.254 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 3.617e-05/0.9654, allocations: 16 kB / 1.388 GB, free: 4.238 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.9655, allocations: 35.86 kB / 1.388 GB, free: 4.203 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.9656, allocations: 99.48 kB / 1.388 GB, free: 4.105 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.9659, allocations: 215.2 kB / 1.388 GB, free: 3.895 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.9659, allocations: 3.938 kB / 1.388 GB, free: 3.891 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9659, allocations: 0 / 1.388 GB, free: 3.891 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.9659, allocations: 0 / 1.388 GB, free: 3.891 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005615/0.9665, allocations: 475 kB / 1.388 GB, free: 3.379 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9665, allocations: 16.03 kB / 1.388 GB, free: 3.363 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.898e-05/0.9666, allocations: 50.55 kB / 1.388 GB, free: 3.305 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.9667, allocations: 35.64 kB / 1.388 GB, free: 3.27 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.967, allocations: 250.6 kB / 1.389 GB, free: 2.984 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.9671, allocations: 16.44 kB / 1.389 GB, free: 2.969 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.9671, allocations: 20 kB / 1.389 GB, free: 2.949 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000332/0.9674, allocations: 231.8 kB / 1.389 GB, free: 2.688 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.9675, allocations: 7.938 kB / 1.389 GB, free: 2.68 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.9675, allocations: 15.94 kB / 1.389 GB, free: 2.664 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.9675, allocations: 8 kB / 1.389 GB, free: 2.656 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.9676, allocations: 87.78 kB / 1.389 GB, free: 2.57 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.9687, allocations: 1.433 MB / 1.39 GB, free: 1.051 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 8.584e-05/0.9688, allocations: 169.1 kB / 1.391 GB, free: 0.875 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.9689, allocations: 88.17 kB / 1.391 GB, free: 0.7852 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.9689, allocations: 75.28 kB / 1.391 GB, free: 0.7109 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.675e-05/0.969, allocations: 109.8 kB / 1.391 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.969, allocations: 0 / 1.391 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0001012/0.9691, allocations: 45.52 kB / 1.391 GB, free: 0.543 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.9691, allocations: 130.7 kB / 1.391 GB, free: 412 kB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.9695, allocations: 294.9 kB / 1.391 GB, free: 112 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.9695, allocations: 25.7 kB / 1.391 GB, free: 80 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001165/0.9696, allocations: 139.9 kB / 1.391 GB, free: 15.94 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-06/0.9696, allocations: 4 kB / 1.391 GB, free: 15.93 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/0.9697, allocations: 21.7 kB / 1.391 GB, free: 15.91 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.9698, allocations: 330.8 kB / 1.392 GB, free: 15.57 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.9698, allocations: 0 / 1.392 GB, free: 15.57 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.9698, allocations: 39.36 kB / 1.392 GB, free: 15.52 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.732e-05/0.9699, allocations: 31.44 kB / 1.392 GB, free: 15.48 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.9699, allocations: 0 / 1.392 GB, free: 15.48 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001667/0.9701, allocations: 81.28 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9701, allocations: 4 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9701, allocations: 4.109 kB / 1.392 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9701, allocations: 3.938 kB / 1.392 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.502e-05/0.9702, allocations: 8 kB / 1.392 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.9702, allocations: 0 / 1.392 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.9703, allocations: 19.69 kB / 1.392 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.9703, allocations: 4 kB / 1.392 GB, free: 15.35 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001515/0.9705, allocations: 209.2 kB / 1.392 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.9706, allocations: 120.7 kB / 1.392 GB, free: 15.01 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.894e-05/0.9706, allocations: 125.9 kB / 1.392 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-05/0.9707, allocations: 180.2 kB / 1.393 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-05/0.9708, allocations: 180.3 kB / 1.393 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.075e-05/0.9709, allocations: 176.3 kB / 1.393 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003484/0.9712, allocations: 481 kB / 1.393 GB, free: 13.8 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.336e-05/0.9713, allocations: 101 kB / 1.394 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.013e-05/0.9713, allocations: 108.9 kB / 1.394 GB, free: 13.59 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.342e-05/0.9714, allocations: 176.3 kB / 1.394 GB, free: 13.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-05/0.9715, allocations: 176.3 kB / 1.394 GB, free: 13.23 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.746e-05/0.9716, allocations: 184.2 kB / 1.394 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-05/0.9717, allocations: 196.3 kB / 1.394 GB, free: 12.84 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.9719, allocations: 327.5 kB / 1.395 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.972, allocations: 205.7 kB / 1.395 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.134e-05/0.9721, allocations: 180.2 kB / 1.395 GB, free: 12.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.9723, allocations: 109 kB / 1.395 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.9723, allocations: 188.2 kB / 1.395 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.172e-05/0.9724, allocations: 101.3 kB / 1.395 GB, free: 11.68 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002082/0.9726, allocations: 206 kB / 1.396 GB, free: 11.48 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.9726, allocations: 0 / 1.396 GB, free: 11.48 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002537/0.9729, allocations: 23.94 kB / 1.396 GB, free: 11.46 MB / 1.123 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 (0): * Single equations (assignments): 0 * 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.0004596/0.9733, allocations: 0.8281 MB / 1.396 GB, free: 10.6 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.9734, allocations: 19.97 kB / 1.396 GB, free: 10.58 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9734, allocations: 0 / 1.396 GB, free: 10.58 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.9734, allocations: 0 / 1.396 GB, free: 10.58 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007782/0.9742, allocations: 0.528 MB / 1.397 GB, free: 10.05 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.9764, allocations: 2.239 MB / 1.399 GB, free: 7.711 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.9768, allocations: 0.7206 MB / 1.4 GB, free: 6.965 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.401e-05/0.9769, allocations: 17.95 kB / 1.4 GB, free: 6.945 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.9769, allocations: 63.41 kB / 1.4 GB, free: 6.883 MB / 1.123 GB Notification: Performance of SimCode: time 3.6e-07/0.977, allocations: 3.938 kB / 1.4 GB, free: 6.879 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02318/1, allocations: 4.761 MB / 1.405 GB, free: 2.273 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/8.423, allocations: 0 / 1.405 GB, free: 2.273 MB / 1.123 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches