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.001539/0.001539, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001972/0.001972, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.483/1.483, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.328/3.328, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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="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.001993/0.001993, allocations: 61.06 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3965, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2072/0.6036, allocations: 153.6 MB / 1.477 GB, free: 7.375 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01182/0.6155, allocations: 8.635 MB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005211/0.616, allocations: 7.938 kB / 1.485 GB, free: 14.7 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009161/0.6169, allocations: 214.6 kB / 1.485 GB, free: 14.49 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.6174, allocations: 87.38 kB / 1.485 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.6176, allocations: 63.92 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005601/0.6182, allocations: 318.7 kB / 1.486 GB, free: 14.03 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.6185, allocations: 108.9 kB / 1.486 GB, free: 13.92 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004962/0.619, allocations: 167.3 kB / 1.486 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.6192, allocations: 103.5 kB / 1.486 GB, free: 13.65 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.6193, allocations: 16 kB / 1.486 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 4.591e-05/0.6193, allocations: 20 kB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.037e-05/0.6194, allocations: 39.84 kB / 1.486 GB, free: 13.58 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.6195, allocations: 79.61 kB / 1.486 GB, free: 13.5 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.6198, allocations: 222.9 kB / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6198, allocations: 0 / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6198, allocations: 0 / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.6198, allocations: 0 / 1.486 GB, free: 13.28 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.0006019/0.6204, allocations: 410.8 kB / 1.487 GB, free: 12.85 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.6205, allocations: 8.031 kB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.103e-05/0.6205, allocations: 8.438 kB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.024e-05/0.6206, allocations: 54.55 kB / 1.487 GB, free: 12.77 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.6206, allocations: 27.8 kB / 1.487 GB, free: 12.75 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004269/0.621, allocations: 200.8 kB / 1.487 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.6211, allocations: 16.38 kB / 1.487 GB, free: 12.51 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.6211, allocations: 20 kB / 1.487 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/0.6215, allocations: 235.8 kB / 1.487 GB, free: 12.22 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.6215, allocations: 7.938 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.205e-05/0.6215, allocations: 8 kB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.6215, allocations: 4 kB / 1.487 GB, free: 12.2 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.6217, allocations: 87.84 kB / 1.487 GB, free: 12.12 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.623, allocations: 1.367 MB / 1.489 GB, free: 10.67 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.6231, allocations: 173.1 kB / 1.489 GB, free: 10.49 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.084e-05/0.6231, allocations: 80.14 kB / 1.489 GB, free: 10.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.6231, allocations: 75.28 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.6232, allocations: 109.8 kB / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.6232, allocations: 0 / 1.489 GB, free: 10.22 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001067/0.6233, allocations: 53.56 kB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.6234, allocations: 126.7 kB / 1.489 GB, free: 10.02 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.6237, allocations: 284.2 kB / 1.49 GB, free: 9.734 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.6237, allocations: 25.7 kB / 1.49 GB, free: 9.703 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.6239, allocations: 151.9 kB / 1.49 GB, free: 9.551 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.69e-06/0.6239, allocations: 4 kB / 1.49 GB, free: 9.547 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.6239, allocations: 13.72 kB / 1.49 GB, free: 9.527 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6241, allocations: 342.7 kB / 1.49 GB, free: 9.184 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.6241, allocations: 4 kB / 1.49 GB, free: 9.18 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.6241, allocations: 23.44 kB / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/0.6242, allocations: 43.36 kB / 1.49 GB, free: 9.09 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6242, allocations: 0 / 1.49 GB, free: 9.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001553/0.6243, allocations: 69.61 kB / 1.49 GB, free: 9.016 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6244, allocations: 11.94 kB / 1.49 GB, free: 9.004 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6244, allocations: 0 / 1.49 GB, free: 9.004 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6244, allocations: 3.984 kB / 1.49 GB, free: 9 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.413e-05/0.6245, allocations: 12.12 kB / 1.49 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6245, allocations: 0 / 1.49 GB, free: 8.988 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.248e-05/0.6245, allocations: 23.78 kB / 1.49 GB, free: 8.965 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.517e-06/0.6245, allocations: 7.922 kB / 1.49 GB, free: 8.957 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.0001422/0.6247, allocations: 205.6 kB / 1.491 GB, free: 8.746 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.768e-05/0.6248, allocations: 124.8 kB / 1.491 GB, free: 8.617 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.6249, allocations: 121.9 kB / 1.491 GB, free: 8.492 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.469e-05/0.6249, allocations: 184.2 kB / 1.491 GB, free: 8.305 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.449e-05/0.625, allocations: 176.3 kB / 1.491 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.141e-05/0.6251, allocations: 188.2 kB / 1.491 GB, free: 7.934 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003222/0.6254, allocations: 436.2 kB / 1.492 GB, free: 7.457 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.212e-05/0.6255, allocations: 112.9 kB / 1.492 GB, free: 7.34 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.743e-05/0.6255, allocations: 109.1 kB / 1.492 GB, free: 7.227 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-05/0.6256, allocations: 176.3 kB / 1.492 GB, free: 7.047 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.936e-05/0.6257, allocations: 192.3 kB / 1.492 GB, free: 6.852 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.529e-05/0.6258, allocations: 176.3 kB / 1.492 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.349e-05/0.6259, allocations: 180.2 kB / 1.493 GB, free: 6.488 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.6261, allocations: 331.6 kB / 1.493 GB, free: 6.141 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.729e-05/0.6261, allocations: 128.8 kB / 1.493 GB, free: 6.008 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.6262, allocations: 180.3 kB / 1.493 GB, free: 5.824 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.6264, allocations: 104.9 kB / 1.493 GB, free: 5.715 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.6e-05/0.6264, allocations: 180.3 kB / 1.493 GB, free: 5.531 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.6265, allocations: 105 kB / 1.494 GB, free: 5.422 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002101/0.6267, allocations: 215 kB / 1.494 GB, free: 5.215 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6267, allocations: 0 / 1.494 GB, free: 5.215 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002438/0.6269, allocations: 24 kB / 1.494 GB, free: 5.191 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.0004896/0.6274, allocations: 0.8203 MB / 1.495 GB, free: 4.34 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.794e-05/0.6275, allocations: 15.92 kB / 1.495 GB, free: 4.324 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6275, allocations: 256 / 1.495 GB, free: 4.324 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6275, allocations: 4 kB / 1.495 GB, free: 4.32 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008081/0.6283, allocations: 0.5313 MB / 1.495 GB, free: 3.789 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002366/0.6307, allocations: 2.237 MB / 1.497 GB, free: 1.461 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.6308, allocations: 113.3 kB / 1.497 GB, free: 1.328 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.378e-05/0.6309, allocations: 25.88 kB / 1.497 GB, free: 1.301 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.631, allocations: 51.42 kB / 1.498 GB, free: 1.25 MB / 1.186 GB Notification: Performance of SimCode: time 2.81e-07/0.631, allocations: 192 / 1.498 GB, free: 1.25 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.6582, allocations: 5.166 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.32, allocations: 5.781 kB / 1.503 GB, free: 12.32 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: 19.29877235996537]