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.001273/0.001273, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00149/0.00149, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.797 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.162/3.162, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.InletToAirMoistAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",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.002042/0.002042, allocations: 61.62 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3674, allocations: 176.1 MB / 1.326 GB, free: 1.523 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1986/0.566, allocations: 153.7 MB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01006/0.5761, allocations: 8.639 MB / 1.484 GB, free: 14.61 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.5764, allocations: 7.938 kB / 1.484 GB, free: 14.6 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.5771, allocations: 202.6 kB / 1.485 GB, free: 14.4 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.5773, allocations: 91.36 kB / 1.485 GB, free: 14.31 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001677/0.5775, allocations: 67.92 kB / 1.485 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.5779, allocations: 322.7 kB / 1.485 GB, free: 13.93 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.5782, allocations: 112.8 kB / 1.485 GB, free: 13.81 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003596/0.5785, allocations: 159.4 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.5787, allocations: 103.5 kB / 1.485 GB, free: 13.55 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.5787, allocations: 16 kB / 1.485 GB, free: 13.54 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 2.843e-05/0.5787, allocations: 16 kB / 1.485 GB, free: 13.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.5788, allocations: 43.8 kB / 1.485 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.5789, allocations: 75.61 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.5791, allocations: 227 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.5792, allocations: 0 / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.356e-06/0.5792, allocations: 4 kB / 1.486 GB, free: 13.18 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.5792, allocations: 0 / 1.486 GB, free: 13.18 MB / 1.186 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.0005477/0.5797, allocations: 405.6 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5798, allocations: 8.031 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.5799, allocations: 58.53 kB / 1.486 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.102e-05/0.5799, allocations: 31.8 kB / 1.486 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000367/0.5803, allocations: 189.6 kB / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.5803, allocations: 16.44 kB / 1.486 GB, free: 12.42 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5803, allocations: 16 kB / 1.486 GB, free: 12.41 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.5807, allocations: 239.7 kB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5807, allocations: 4 kB / 1.487 GB, free: 12.13 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.5807, allocations: 7.938 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.5807, allocations: 11.94 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.5809, allocations: 91.83 kB / 1.487 GB, free: 12.02 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.5821, allocations: 1.364 MB / 1.488 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5822, allocations: 173.1 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.994e-05/0.5823, allocations: 80.14 kB / 1.488 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.5823, allocations: 79.28 kB / 1.488 GB, free: 10.24 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.5824, allocations: 109.8 kB / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.5824, allocations: 0 / 1.489 GB, free: 10.12 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.665e-05/0.5825, allocations: 49.56 kB / 1.489 GB, free: 10.07 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.5826, allocations: 126.7 kB / 1.489 GB, free: 9.93 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.5829, allocations: 292.1 kB / 1.489 GB, free: 9.633 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.5829, allocations: 29.7 kB / 1.489 GB, free: 9.598 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.583, allocations: 152 kB / 1.489 GB, free: 9.445 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.583, allocations: 0 / 1.489 GB, free: 9.445 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.583, allocations: 13.72 kB / 1.489 GB, free: 9.426 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5832, allocations: 338.7 kB / 1.489 GB, free: 9.086 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.5832, allocations: 7.984 kB / 1.489 GB, free: 9.078 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.8e-05/0.5832, allocations: 27.42 kB / 1.49 GB, free: 9.039 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.5833, allocations: 35.38 kB / 1.49 GB, free: 8.992 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.5833, allocations: 0 / 1.49 GB, free: 8.992 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000159/0.5834, allocations: 77.48 kB / 1.49 GB, free: 8.91 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5835, allocations: 9.562 kB / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.5835, allocations: 0 / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5835, allocations: 112 / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/0.5835, allocations: 11.94 kB / 1.49 GB, free: 8.891 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5836, allocations: 3.984 kB / 1.49 GB, free: 8.887 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.5837, allocations: 27.78 kB / 1.49 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.5837, allocations: 0 / 1.49 GB, free: 8.859 MB / 1.186 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.0001411/0.5838, allocations: 209.7 kB / 1.49 GB, free: 8.645 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.5839, allocations: 124.8 kB / 1.49 GB, free: 8.516 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.125e-05/0.584, allocations: 117.9 kB / 1.49 GB, free: 8.395 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.883e-05/0.584, allocations: 184.2 kB / 1.49 GB, free: 8.207 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.755e-05/0.5841, allocations: 180.3 kB / 1.49 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001395/0.5843, allocations: 192.2 kB / 1.491 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.5847, allocations: 428.2 kB / 1.491 GB, free: 7.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/0.5848, allocations: 104.9 kB / 1.491 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.5848, allocations: 105.1 kB / 1.491 GB, free: 7.141 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001055/0.5849, allocations: 176.3 kB / 1.491 GB, free: 6.961 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.585, allocations: 192.2 kB / 1.492 GB, free: 6.766 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/0.5851, allocations: 184.3 kB / 1.492 GB, free: 6.578 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001671/0.5853, allocations: 184.1 kB / 1.492 GB, free: 6.391 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.5855, allocations: 323.6 kB / 1.492 GB, free: 6.051 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.5856, allocations: 132.8 kB / 1.492 GB, free: 5.914 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.5857, allocations: 176.3 kB / 1.493 GB, free: 5.734 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.5859, allocations: 112.9 kB / 1.493 GB, free: 5.617 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.5859, allocations: 176.3 kB / 1.493 GB, free: 5.438 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.586, allocations: 105 kB / 1.493 GB, free: 5.328 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002193/0.5862, allocations: 207.1 kB / 1.493 GB, free: 5.129 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.5862, allocations: 0 / 1.493 GB, free: 5.129 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002795/0.5865, allocations: 31.94 kB / 1.493 GB, free: 5.098 MB / 1.186 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.0006683/0.5871, allocations: 0.8242 MB / 1.494 GB, free: 4.242 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.5872, allocations: 15.94 kB / 1.494 GB, free: 4.227 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5872, allocations: 0 / 1.494 GB, free: 4.227 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5872, allocations: 0 / 1.494 GB, free: 4.227 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007829/0.588, allocations: 0.5281 MB / 1.494 GB, free: 3.695 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002499/0.5905, allocations: 2.237 MB / 1.497 GB, free: 1.367 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.5907, allocations: 109.3 kB / 1.497 GB, free: 1.238 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.252e-05/0.5907, allocations: 26.03 kB / 1.497 GB, free: 1.211 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.345e-05/0.5908, allocations: 59.41 kB / 1.497 GB, free: 1.152 MB / 1.186 GB Notification: Performance of SimCode: time 5.31e-07/0.5908, allocations: 4 kB / 1.497 GB, free: 1.148 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03276/0.6236, allocations: 5.567 MB / 1.502 GB, free: 11.79 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.73, allocations: 2.438 kB / 1.502 GB, free: 11.79 MB / 1.201 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.331216306978604]