Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.001271/0.001271, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001366/0.001366, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.443/1.443, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 2.983/2.983, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] 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.InletToAirDryAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.001989/0.001989, allocations: 71.88 kB / 1.15 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8552, allocations: 176.1 MB / 1.321 GB, free: 24.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.176/1.031, allocations: 151.4 MB / 1.469 GB, free: 10.57 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005445/1.037, allocations: 4.691 MB / 1.474 GB, free: 6.789 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/1.037, allocations: 13.75 kB / 1.474 GB, free: 6.781 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005397/1.037, allocations: 161.3 kB / 1.474 GB, free: 6.641 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002908/1.038, allocations: 90.44 kB / 1.474 GB, free: 6.566 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001437/1.038, allocations: 64.48 kB / 1.474 GB, free: 6.512 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003573/1.038, allocations: 290.8 kB / 1.475 GB, free: 6.344 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/1.038, allocations: 86.77 kB / 1.475 GB, free: 6.281 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/1.039, allocations: 101.9 kB / 1.475 GB, free: 6.227 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/1.039, allocations: 134.2 kB / 1.475 GB, free: 6.152 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/1.039, allocations: 9.531 kB / 1.475 GB, free: 6.152 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.304e-05/1.039, allocations: 14.41 kB / 1.475 GB, free: 6.148 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/1.039, allocations: 29.52 kB / 1.475 GB, free: 6.125 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 8.346e-05/1.039, allocations: 85.69 kB / 1.475 GB, free: 6.066 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/1.039, allocations: 157.6 kB / 1.475 GB, free: 5.953 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/1.039, allocations: 0 / 1.475 GB, free: 5.953 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.443e-06/1.039, allocations: 0 / 1.475 GB, free: 5.953 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.039, allocations: 1.125 kB / 1.475 GB, free: 5.953 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004828/1.04, allocations: 451.8 kB / 1.476 GB, free: 5.508 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/1.04, allocations: 12.7 kB / 1.476 GB, free: 5.504 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.582e-05/1.04, allocations: 12.53 kB / 1.476 GB, free: 5.496 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/1.04, allocations: 51.23 kB / 1.476 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/1.04, allocations: 19.03 kB / 1.476 GB, free: 5.434 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/1.04, allocations: 245.3 kB / 1.476 GB, free: 5.184 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/1.04, allocations: 17.84 kB / 1.476 GB, free: 5.172 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/1.04, allocations: 18.3 kB / 1.476 GB, free: 5.164 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/1.04, allocations: 211.5 kB / 1.476 GB, free: 4.961 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/1.041, allocations: 1.125 kB / 1.476 GB, free: 4.961 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1.041, allocations: 7.25 kB / 1.476 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/1.041, allocations: 4.625 kB / 1.476 GB, free: 4.957 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/1.041, allocations: 74.44 kB / 1.476 GB, free: 4.918 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/1.042, allocations: 1.597 MB / 1.478 GB, free: 3.309 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.042, allocations: 166.2 kB / 1.478 GB, free: 3.137 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.939e-05/1.042, allocations: 80.14 kB / 1.478 GB, free: 3.055 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/1.042, allocations: 76.5 kB / 1.478 GB, free: 2.98 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.396e-05/1.042, allocations: 109.8 kB / 1.478 GB, free: 2.863 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/1.042, allocations: 5.062 kB / 1.478 GB, free: 2.859 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 8.798e-05/1.042, allocations: 45.89 kB / 1.478 GB, free: 2.816 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.042, allocations: 126.7 kB / 1.478 GB, free: 2.68 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/1.042, allocations: 254 kB / 1.479 GB, free: 2.504 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/1.042, allocations: 25.7 kB / 1.479 GB, free: 2.473 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/1.043, allocations: 145.7 kB / 1.479 GB, free: 2.336 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-06/1.043, allocations: 9.531 kB / 1.479 GB, free: 2.328 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/1.043, allocations: 18.97 kB / 1.479 GB, free: 2.309 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001422/1.043, allocations: 326.9 kB / 1.479 GB, free: 1.984 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.679e-05/1.043, allocations: 8.047 kB / 1.479 GB, free: 1.98 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/1.043, allocations: 44.27 kB / 1.479 GB, free: 1.922 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.778e-05/1.043, allocations: 73.28 kB / 1.479 GB, free: 1.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.043, allocations: 0 / 1.479 GB, free: 1.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001586/1.043, allocations: 89.91 kB / 1.479 GB, free: 1.777 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.043, allocations: 6.812 kB / 1.479 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.043, allocations: 1.406 kB / 1.479 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.043, allocations: 2.25 kB / 1.479 GB, free: 1.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.982e-05/1.043, allocations: 18.55 kB / 1.479 GB, free: 1.77 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/1.043, allocations: 1.312 kB / 1.479 GB, free: 1.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.533e-05/1.043, allocations: 17.38 kB / 1.479 GB, free: 1.758 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/1.043, allocations: 8.984 kB / 1.479 GB, free: 1.754 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001273/1.043, allocations: 206.4 kB / 1.48 GB, free: 1.547 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.231e-05/1.043, allocations: 122.1 kB / 1.48 GB, free: 1.43 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.083e-05/1.044, allocations: 120 kB / 1.48 GB, free: 1.305 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-05/1.044, allocations: 177.5 kB / 1.48 GB, free: 1.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-05/1.044, allocations: 180.2 kB / 1.48 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.307e-05/1.044, allocations: 185.3 kB / 1.48 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003211/1.044, allocations: 458.3 kB / 1.481 GB, free: 276 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.743e-05/1.044, allocations: 102.3 kB / 1.481 GB, free: 168 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/1.044, allocations: 110.5 kB / 1.481 GB, free: 52 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.502e-05/1.044, allocations: 184.2 kB / 1.481 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.049e-05/1.044, allocations: 185.4 kB / 1.481 GB, free: 15.68 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-05/1.044, allocations: 181.3 kB / 1.481 GB, free: 15.49 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.096e-05/1.045, allocations: 177.6 kB / 1.482 GB, free: 15.31 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/1.045, allocations: 334.6 kB / 1.482 GB, free: 14.97 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/1.045, allocations: 190.6 kB / 1.482 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/1.045, allocations: 189.5 kB / 1.482 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.045, allocations: 106.6 kB / 1.482 GB, free: 14.46 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.359e-05/1.045, allocations: 180.2 kB / 1.483 GB, free: 14.28 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/1.045, allocations: 102.4 kB / 1.483 GB, free: 14.18 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001692/1.045, allocations: 177.4 kB / 1.483 GB, free: 14.05 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.5e-07/1.045, allocations: 0 / 1.483 GB, free: 14.05 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002516/1.046, allocations: 27.31 kB / 1.483 GB, free: 14.05 MB / 1.17 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.0004547/1.046, allocations: 0.8328 MB / 1.484 GB, free: 13.21 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.521e-05/1.046, allocations: 23.77 kB / 1.484 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.046, allocations: 4.062 kB / 1.484 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/1.046, allocations: 1.281 kB / 1.484 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006786/1.047, allocations: 0.4976 MB / 1.484 GB, free: 12.72 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/1.049, allocations: 2.053 MB / 1.486 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/1.049, allocations: 0.7177 MB / 1.487 GB, free: 10.25 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.863e-05/1.049, allocations: 14.33 kB / 1.487 GB, free: 10.25 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/1.049, allocations: 55.98 kB / 1.487 GB, free: 10.2 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/1.049, allocations: 0 / 1.487 GB, free: 10.2 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/1.069, allocations: 3.634 MB / 1.491 GB, free: 8.363 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.645/9.714, allocations: 5.844 kB / 1.491 GB, free: 8.363 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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: 16.12185340799624]