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.001391/0.001391, allocations: 107 kB / 16.45 MB, free: 6.5 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.001531/0.001531, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.472/1.472, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.164/3.164, allocations: 0.49 GB / 0.7916 GB, free: 33.38 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="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.002076/0.002076, allocations: 64.27 kB / 1.149 GB, free: 26.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3032, allocations: 176.1 MB / 1.321 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.2086/0.5117, allocations: 177.5 MB / 1.494 GB, free: 1.305 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01232/0.5241, allocations: 9.577 MB / 1.503 GB, free: 7.695 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004133/0.5245, allocations: 7.938 kB / 1.503 GB, free: 7.688 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.5253, allocations: 198.6 kB / 1.504 GB, free: 7.492 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0003905/0.5257, allocations: 91.38 kB / 1.504 GB, free: 7.402 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.5259, allocations: 71.91 kB / 1.504 GB, free: 7.332 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005345/0.5265, allocations: 318.7 kB / 1.504 GB, free: 7.02 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003323/0.5268, allocations: 112.6 kB / 1.504 GB, free: 6.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000481/0.5273, allocations: 163.3 kB / 1.504 GB, free: 6.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.5275, allocations: 99.48 kB / 1.505 GB, free: 6.652 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.5275, allocations: 16 kB / 1.505 GB, free: 6.637 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.5275, allocations: 16 kB / 1.505 GB, free: 6.621 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.327e-05/0.5276, allocations: 39.86 kB / 1.505 GB, free: 6.582 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.5277, allocations: 99.48 kB / 1.505 GB, free: 6.484 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.528, allocations: 222.9 kB / 1.505 GB, free: 6.266 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.528, allocations: 0 / 1.505 GB, free: 6.266 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5281, allocations: 0 / 1.505 GB, free: 6.266 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.5281, allocations: 0 / 1.505 GB, free: 6.266 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.000615/0.5287, allocations: 482.7 kB / 1.505 GB, free: 5.746 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.5287, allocations: 15.98 kB / 1.505 GB, free: 5.73 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.52e-05/0.5288, allocations: 50.55 kB / 1.505 GB, free: 5.672 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.5289, allocations: 31.78 kB / 1.505 GB, free: 5.641 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.5293, allocations: 262.7 kB / 1.506 GB, free: 5.344 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.5293, allocations: 12.44 kB / 1.506 GB, free: 5.332 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.861e-05/0.5293, allocations: 20 kB / 1.506 GB, free: 5.312 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003699/0.5297, allocations: 235.8 kB / 1.506 GB, free: 5.043 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.5297, allocations: 4 kB / 1.506 GB, free: 5.039 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.5297, allocations: 11.88 kB / 1.506 GB, free: 5.027 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.5298, allocations: 11.94 kB / 1.506 GB, free: 5.016 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.5299, allocations: 87.84 kB / 1.506 GB, free: 4.93 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.5312, allocations: 1.433 MB / 1.507 GB, free: 3.41 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.5313, allocations: 173.1 kB / 1.508 GB, free: 3.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/0.5313, allocations: 84.08 kB / 1.508 GB, free: 3.145 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 2.952e-05/0.5314, allocations: 75.28 kB / 1.508 GB, free: 3.07 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.5314, allocations: 109.8 kB / 1.508 GB, free: 2.953 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5314, allocations: 0 / 1.508 GB, free: 2.953 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001048/0.5315, allocations: 49.56 kB / 1.508 GB, free: 2.898 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.266e-05/0.5316, allocations: 130.7 kB / 1.508 GB, free: 2.758 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003316/0.5319, allocations: 287 kB / 1.508 GB, free: 2.469 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.5319, allocations: 25.7 kB / 1.508 GB, free: 2.438 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.532, allocations: 144 kB / 1.508 GB, free: 2.293 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.5321, allocations: 8 kB / 1.508 GB, free: 2.285 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.5321, allocations: 21.7 kB / 1.509 GB, free: 2.258 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.5322, allocations: 330.8 kB / 1.509 GB, free: 1.926 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.5323, allocations: 0 / 1.509 GB, free: 1.926 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.076e-05/0.5323, allocations: 35.36 kB / 1.509 GB, free: 1.879 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.638e-05/0.5324, allocations: 35.38 kB / 1.509 GB, free: 1.832 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5324, allocations: 0 / 1.509 GB, free: 1.832 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001651/0.5325, allocations: 77.48 kB / 1.509 GB, free: 1.75 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5325, allocations: 8 kB / 1.509 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5325, allocations: 0 / 1.509 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.5326, allocations: 128 / 1.509 GB, free: 1.742 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.287e-05/0.5326, allocations: 12 kB / 1.509 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.5326, allocations: 0 / 1.509 GB, free: 1.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.5327, allocations: 19.89 kB / 1.509 GB, free: 1.711 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5327, allocations: 11.94 kB / 1.509 GB, free: 1.699 MB / 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.0001437/0.5329, allocations: 209 kB / 1.509 GB, free: 1.484 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.5329, allocations: 120.8 kB / 1.509 GB, free: 1.359 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.953e-05/0.533, allocations: 121.9 kB / 1.509 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-05/0.5331, allocations: 184.2 kB / 1.51 GB, free: 1.043 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.979e-05/0.5332, allocations: 184.3 kB / 1.51 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.623e-05/0.5333, allocations: 180.2 kB / 1.51 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003407/0.5336, allocations: 477.2 kB / 1.51 GB, free: 152 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.325e-05/0.5336, allocations: 101 kB / 1.511 GB, free: 44 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.5337, allocations: 120.9 kB / 1.511 GB, free: 15.92 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.5338, allocations: 176.3 kB / 1.511 GB, free: 15.74 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.271e-05/0.5339, allocations: 180.2 kB / 1.511 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.371e-05/0.5339, allocations: 180.2 kB / 1.511 GB, free: 15.37 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.986e-05/0.534, allocations: 184.2 kB / 1.511 GB, free: 15.18 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.5342, allocations: 331.6 kB / 1.512 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.5343, allocations: 205.9 kB / 1.512 GB, free: 14.61 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.5344, allocations: 176.3 kB / 1.512 GB, free: 14.43 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.5346, allocations: 105 kB / 1.512 GB, free: 14.32 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.402e-05/0.5346, allocations: 184.2 kB / 1.512 GB, free: 14.13 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.733e-05/0.5347, allocations: 105 kB / 1.512 GB, free: 14.02 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002213/0.5349, allocations: 210 kB / 1.513 GB, free: 13.82 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5349, allocations: 0 / 1.513 GB, free: 13.82 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0002704/0.5352, allocations: 23.94 kB / 1.513 GB, free: 13.8 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.0004967/0.5357, allocations: 0.832 MB / 1.513 GB, free: 12.93 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 8.421e-05/0.5358, allocations: 11.94 kB / 1.513 GB, free: 12.92 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.5358, allocations: 4 kB / 1.513 GB, free: 12.92 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-06/0.5358, allocations: 0 / 1.513 GB, free: 12.92 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000843/0.5366, allocations: 0.5374 MB / 1.514 GB, free: 12.38 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002522/0.5391, allocations: 2.227 MB / 1.516 GB, free: 10.05 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.5395, allocations: 0.7206 MB / 1.517 GB, free: 9.309 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 8.886e-05/0.5396, allocations: 21.95 kB / 1.517 GB, free: 9.285 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.5397, allocations: 59.41 kB / 1.517 GB, free: 9.227 MB / 1.217 GB Notification: Performance of SimCode: time 6.01e-07/0.5397, allocations: 0 / 1.517 GB, free: 9.227 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.5693, allocations: 4.708 MB / 1.522 GB, free: 4.66 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.94, allocations: 7.984 kB / 1.522 GB, free: 4.656 MB / 1.217 GB " [Timeout remaining time 291] (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: 15.382418864173815]