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.00177/0.00177, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002192/0.002192, allocations: 216.4 kB / 22.25 MB, free: 5.129 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.536/1.536, allocations: 230.6 MB / 256 MB, free: 8 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.232/3.232, allocations: 0.49 GB / 0.7951 GB, free: 33.32 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.002429/0.002429, allocations: 71.69 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3331, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2379/0.571, allocations: 177.7 MB / 1.499 GB, free: 15.57 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01306/0.584, allocations: 9.647 MB / 1.509 GB, free: 5.891 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000435/0.5845, allocations: 11.94 kB / 1.509 GB, free: 5.879 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.5853, allocations: 198.7 kB / 1.509 GB, free: 5.684 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004509/0.5857, allocations: 95.3 kB / 1.509 GB, free: 5.59 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.586, allocations: 75.81 kB / 1.509 GB, free: 5.516 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005402/0.5865, allocations: 318.7 kB / 1.51 GB, free: 5.203 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.5868, allocations: 105 kB / 1.51 GB, free: 5.094 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004605/0.5873, allocations: 167.3 kB / 1.51 GB, free: 4.93 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.5875, allocations: 99.48 kB / 1.51 GB, free: 4.832 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.5875, allocations: 16 kB / 1.51 GB, free: 4.816 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 4.766e-05/0.5876, allocations: 16 kB / 1.51 GB, free: 4.801 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.523e-05/0.5876, allocations: 39.86 kB / 1.51 GB, free: 4.762 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.5877, allocations: 99.47 kB / 1.51 GB, free: 4.664 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003174/0.588, allocations: 222.9 kB / 1.51 GB, free: 4.445 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.5881, allocations: 0 / 1.51 GB, free: 4.445 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5881, allocations: 0 / 1.51 GB, free: 4.445 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.5881, allocations: 0 / 1.51 GB, free: 4.445 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.0006/0.5887, allocations: 409.6 kB / 1.511 GB, free: 4.016 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5887, allocations: 12.03 kB / 1.511 GB, free: 4.004 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.288e-05/0.5888, allocations: 54.55 kB / 1.511 GB, free: 3.941 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.5888, allocations: 31.8 kB / 1.511 GB, free: 3.91 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.5893, allocations: 196.9 kB / 1.511 GB, free: 3.691 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.5893, allocations: 16.44 kB / 1.511 GB, free: 3.676 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.5893, allocations: 16 kB / 1.511 GB, free: 3.66 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000423/0.5898, allocations: 239.7 kB / 1.511 GB, free: 3.391 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.5898, allocations: 3.938 kB / 1.511 GB, free: 3.387 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.5898, allocations: 11.94 kB / 1.511 GB, free: 3.375 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.5898, allocations: 4 kB / 1.511 GB, free: 3.371 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.59, allocations: 91.84 kB / 1.511 GB, free: 3.281 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001421/0.5914, allocations: 1.399 MB / 1.513 GB, free: 1.805 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.5915, allocations: 165.1 kB / 1.513 GB, free: 1.633 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.5916, allocations: 80.14 kB / 1.513 GB, free: 1.551 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.5916, allocations: 79.22 kB / 1.513 GB, free: 1.473 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00014/0.5918, allocations: 113.8 kB / 1.513 GB, free: 1.352 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.5918, allocations: 0 / 1.513 GB, free: 1.352 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001299/0.5919, allocations: 49.55 kB / 1.513 GB, free: 1.297 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.592, allocations: 126.7 kB / 1.513 GB, free: 1.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.5924, allocations: 288.2 kB / 1.514 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.5924, allocations: 25.7 kB / 1.514 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.5926, allocations: 147.9 kB / 1.514 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.5926, allocations: 3.984 kB / 1.514 GB, free: 0.6836 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.5926, allocations: 21.72 kB / 1.514 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.5928, allocations: 330.8 kB / 1.514 GB, free: 332 kB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.5928, allocations: 7.984 kB / 1.514 GB, free: 324 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.528e-05/0.5928, allocations: 31.38 kB / 1.514 GB, free: 280 kB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.001e-05/0.5929, allocations: 39.38 kB / 1.514 GB, free: 228 kB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5929, allocations: 0 / 1.514 GB, free: 228 kB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001851/0.5931, allocations: 73.48 kB / 1.514 GB, free: 148 kB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5931, allocations: 6.031 kB / 1.514 GB, free: 144 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5931, allocations: 0 / 1.514 GB, free: 144 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5931, allocations: 4 kB / 1.514 GB, free: 140 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.97e-05/0.5932, allocations: 8.234 kB / 1.514 GB, free: 132 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5932, allocations: 7.938 kB / 1.514 GB, free: 124 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.5933, allocations: 23.77 kB / 1.514 GB, free: 100 kB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.5933, allocations: 4 kB / 1.514 GB, free: 96 kB / 1.201 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.0001885/0.5935, allocations: 201.6 kB / 1.514 GB, free: 15.88 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5936, allocations: 124.8 kB / 1.515 GB, free: 15.75 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.182e-05/0.5937, allocations: 125.9 kB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/0.5938, allocations: 184.2 kB / 1.515 GB, free: 15.44 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.369e-05/0.5939, allocations: 176.3 kB / 1.515 GB, free: 15.26 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.808e-05/0.594, allocations: 188.3 kB / 1.515 GB, free: 15.07 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.5943, allocations: 440.3 kB / 1.516 GB, free: 14.59 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.116e-05/0.5944, allocations: 109 kB / 1.516 GB, free: 14.47 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.5945, allocations: 108.9 kB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.5946, allocations: 184.3 kB / 1.516 GB, free: 14.17 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.5947, allocations: 192.1 kB / 1.516 GB, free: 13.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000109/0.5948, allocations: 176.3 kB / 1.516 GB, free: 13.8 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.55e-05/0.5949, allocations: 176.3 kB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.5951, allocations: 335.6 kB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 9.401e-05/0.5952, allocations: 128.8 kB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.5953, allocations: 176.3 kB / 1.517 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.5955, allocations: 109 kB / 1.517 GB, free: 12.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.729e-05/0.5956, allocations: 184.2 kB / 1.517 GB, free: 12.65 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.5956, allocations: 101 kB / 1.518 GB, free: 12.55 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003135/0.5959, allocations: 211.1 kB / 1.518 GB, free: 12.34 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5959, allocations: 0 / 1.518 GB, free: 12.34 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003002/0.5962, allocations: 23.94 kB / 1.518 GB, free: 12.32 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.0005521/0.5968, allocations: 0.8281 MB / 1.519 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.5969, allocations: 15.94 kB / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5969, allocations: 0 / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.5969, allocations: 0 / 1.519 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008386/0.5977, allocations: 0.5281 MB / 1.519 GB, free: 10.91 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.6007, allocations: 2.237 MB / 1.521 GB, free: 8.586 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.6011, allocations: 0.7206 MB / 1.522 GB, free: 7.84 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.6012, allocations: 21.95 kB / 1.522 GB, free: 7.816 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.661e-05/0.6013, allocations: 63.41 kB / 1.522 GB, free: 7.754 MB / 1.217 GB Notification: Performance of SimCode: time 8.41e-07/0.6013, allocations: 0 / 1.522 GB, free: 7.754 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.6385, allocations: 4.824 MB / 1.527 GB, free: 3.109 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.19, allocations: 6.172 kB / 1.527 GB, free: 3.105 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.99637595913373]