Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002149/0.002149, allocations: 218.8 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.154/3.154, allocations: 0.49 GB / 0.7959 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 68.7 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3352, allocations: 176.1 MB / 1.327 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2132/0.5484, allocations: 177.7 MB / 1.5 GB, free: 15.47 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01111/0.5595, allocations: 9.643 MB / 1.51 GB, free: 5.797 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003339/0.5598, allocations: 11.94 kB / 1.51 GB, free: 5.785 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006887/0.5605, allocations: 198.6 kB / 1.51 GB, free: 5.59 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.5608, allocations: 87.38 kB / 1.51 GB, free: 5.504 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001855/0.561, allocations: 83.78 kB / 1.51 GB, free: 5.422 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004254/0.5614, allocations: 318.7 kB / 1.51 GB, free: 5.109 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.5617, allocations: 101 kB / 1.51 GB, free: 5.004 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.562, allocations: 171.3 kB / 1.511 GB, free: 4.836 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.5622, allocations: 99.48 kB / 1.511 GB, free: 4.738 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.668e-05/0.5622, allocations: 16 kB / 1.511 GB, free: 4.723 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 2.984e-05/0.5622, allocations: 16 kB / 1.511 GB, free: 4.707 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.5623, allocations: 39.86 kB / 1.511 GB, free: 4.668 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.5624, allocations: 99.42 kB / 1.511 GB, free: 4.57 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.5627, allocations: 223 kB / 1.511 GB, free: 4.352 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5627, allocations: 0 / 1.511 GB, free: 4.352 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5627, allocations: 0 / 1.511 GB, free: 4.352 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5627, allocations: 0 / 1.511 GB, free: 4.352 MB / 1.201 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.0004718/0.5632, allocations: 409.6 kB / 1.511 GB, free: 3.922 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5632, allocations: 12.03 kB / 1.511 GB, free: 3.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.741e-05/0.5632, allocations: 4.438 kB / 1.511 GB, free: 3.906 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.601e-05/0.5633, allocations: 58.55 kB / 1.512 GB, free: 3.84 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.5633, allocations: 27.8 kB / 1.512 GB, free: 3.812 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.5637, allocations: 194.2 kB / 1.512 GB, free: 3.598 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5637, allocations: 16.44 kB / 1.512 GB, free: 3.582 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.5637, allocations: 16 kB / 1.512 GB, free: 3.566 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.5641, allocations: 239.7 kB / 1.512 GB, free: 3.297 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5641, allocations: 7.938 kB / 1.512 GB, free: 3.289 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.5641, allocations: 8 kB / 1.512 GB, free: 3.281 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.5641, allocations: 8 kB / 1.512 GB, free: 3.273 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.5643, allocations: 87.78 kB / 1.512 GB, free: 3.188 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.5654, allocations: 1.395 MB / 1.513 GB, free: 1.715 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 9.692e-05/0.5655, allocations: 173.1 kB / 1.514 GB, free: 1.535 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.837e-05/0.5655, allocations: 80.14 kB / 1.514 GB, free: 1.453 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.5656, allocations: 79.28 kB / 1.514 GB, free: 1.375 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.5656, allocations: 105.8 kB / 1.514 GB, free: 1.262 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5656, allocations: 0 / 1.514 GB, free: 1.262 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001044/0.5657, allocations: 49.56 kB / 1.514 GB, free: 1.207 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.5658, allocations: 130.7 kB / 1.514 GB, free: 1.066 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.5661, allocations: 288.2 kB / 1.514 GB, free: 0.7734 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.5661, allocations: 25.7 kB / 1.514 GB, free: 0.7422 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5663, allocations: 155.9 kB / 1.514 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.5663, allocations: 0 / 1.514 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.5663, allocations: 25.64 kB / 1.515 GB, free: 0.5547 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.5665, allocations: 330.8 kB / 1.515 GB, free: 228 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.5665, allocations: 0 / 1.515 GB, free: 228 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.409e-05/0.5665, allocations: 35.42 kB / 1.515 GB, free: 180 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.136e-05/0.5666, allocations: 39.38 kB / 1.515 GB, free: 128 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5666, allocations: 0 / 1.515 GB, free: 128 kB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000139/0.5667, allocations: 73.48 kB / 1.515 GB, free: 48 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5667, allocations: 8 kB / 1.515 GB, free: 40 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5667, allocations: 3.984 kB / 1.515 GB, free: 36 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5667, allocations: 4.234 kB / 1.515 GB, free: 32 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.5668, allocations: 11.94 kB / 1.515 GB, free: 20 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.5668, allocations: 0 / 1.515 GB, free: 20 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.5669, allocations: 19.78 kB / 1.515 GB, free: 0 / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.5669, allocations: 8.047 kB / 1.515 GB, free: 15.99 MB / 1.217 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.0001297/0.567, allocations: 205.6 kB / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.5671, allocations: 120.8 kB / 1.515 GB, free: 15.65 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.5672, allocations: 129.9 kB / 1.515 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.142e-05/0.5672, allocations: 180.2 kB / 1.516 GB, free: 15.34 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.415e-05/0.5673, allocations: 180.3 kB / 1.516 GB, free: 15.15 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.411e-05/0.5674, allocations: 184.3 kB / 1.516 GB, free: 14.96 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.5677, allocations: 444.3 kB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-05/0.5678, allocations: 117 kB / 1.517 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.5678, allocations: 105 kB / 1.517 GB, free: 14.25 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.43e-05/0.5679, allocations: 176.3 kB / 1.517 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.568, allocations: 180.2 kB / 1.517 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.13e-05/0.568, allocations: 184.2 kB / 1.517 GB, free: 13.7 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.556e-05/0.5681, allocations: 184.2 kB / 1.517 GB, free: 13.51 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.5683, allocations: 323.6 kB / 1.518 GB, free: 13.17 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.156e-05/0.5684, allocations: 128.8 kB / 1.518 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.5685, allocations: 184.2 kB / 1.518 GB, free: 12.85 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5686, allocations: 104.9 kB / 1.518 GB, free: 12.74 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.5687, allocations: 184.2 kB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-05/0.5687, allocations: 105 kB / 1.518 GB, free: 12.45 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002243/0.569, allocations: 211 kB / 1.518 GB, free: 12.24 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.569, allocations: 0 / 1.518 GB, free: 12.24 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002656/0.5692, allocations: 24 kB / 1.519 GB, free: 12.22 MB / 1.217 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.0004806/0.5697, allocations: 0.8281 MB / 1.519 GB, free: 11.36 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.5698, allocations: 15.94 kB / 1.519 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5698, allocations: 0 / 1.519 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5698, allocations: 0 / 1.519 GB, free: 11.34 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008183/0.5706, allocations: 0.5336 MB / 1.52 GB, free: 10.81 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.573, allocations: 2.237 MB / 1.522 GB, free: 8.48 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.5734, allocations: 0.7206 MB / 1.523 GB, free: 7.734 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 9.515e-05/0.5734, allocations: 21.95 kB / 1.523 GB, free: 7.711 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.5735, allocations: 59.41 kB / 1.523 GB, free: 7.652 MB / 1.217 GB Notification: Performance of SimCode: time 8.91e-07/0.5735, allocations: 4 kB / 1.523 GB, free: 7.648 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02633/0.5999, allocations: 4.842 MB / 1.528 GB, free: 2.996 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.18, allocations: 13.88 kB / 1.528 GB, free: 2.984 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.9012095729704]