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.001396/0.001396, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001453/0.001453, allocations: 220 kB / 23.04 MB, free: 5.078 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.7959 GB, free: 33.25 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.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.002041/0.002041, allocations: 64.66 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.335, allocations: 176.1 MB / 1.327 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1853/0.5203, allocations: 151.6 MB / 1.475 GB, free: 9.844 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006004/0.5263, allocations: 4.757 MB / 1.479 GB, free: 5.066 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00037/0.5267, allocations: 15.94 kB / 1.479 GB, free: 5.051 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006115/0.5273, allocations: 170.8 kB / 1.48 GB, free: 4.883 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003249/0.5276, allocations: 79.5 kB / 1.48 GB, free: 4.805 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.5278, allocations: 75.8 kB / 1.48 GB, free: 4.73 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0003966/0.5282, allocations: 278.9 kB / 1.48 GB, free: 4.457 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.5284, allocations: 87.42 kB / 1.48 GB, free: 4.371 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.5286, allocations: 107.5 kB / 1.48 GB, free: 4.266 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.5288, allocations: 143.4 kB / 1.48 GB, free: 4.125 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.5289, allocations: 12 kB / 1.48 GB, free: 4.113 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 2.408e-05/0.5289, allocations: 8 kB / 1.48 GB, free: 4.105 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.5289, allocations: 31.86 kB / 1.48 GB, free: 4.074 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 8.667e-05/0.529, allocations: 75.55 kB / 1.48 GB, free: 4 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.5293, allocations: 155.2 kB / 1.481 GB, free: 3.848 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.5293, allocations: 0 / 1.481 GB, free: 3.848 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5293, allocations: 0 / 1.481 GB, free: 3.848 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.5293, allocations: 0 / 1.481 GB, free: 3.848 MB / 1.17 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.0004926/0.5298, allocations: 386.2 kB / 1.481 GB, free: 3.441 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.5298, allocations: 12.02 kB / 1.481 GB, free: 3.43 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.083e-05/0.5298, allocations: 4.188 kB / 1.481 GB, free: 3.426 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.5299, allocations: 42.75 kB / 1.481 GB, free: 3.375 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.555e-05/0.5299, allocations: 24.83 kB / 1.481 GB, free: 3.352 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004109/0.5303, allocations: 198.7 kB / 1.481 GB, free: 3.133 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.083e-05/0.5304, allocations: 11.94 kB / 1.481 GB, free: 3.121 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.5304, allocations: 16 kB / 1.481 GB, free: 3.105 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.5307, allocations: 212.9 kB / 1.481 GB, free: 2.852 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5307, allocations: 3.938 kB / 1.481 GB, free: 2.848 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.5307, allocations: 11.98 kB / 1.481 GB, free: 2.836 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.5308, allocations: 4 kB / 1.481 GB, free: 2.832 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.5309, allocations: 67.8 kB / 1.481 GB, free: 2.766 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001136/0.532, allocations: 1.552 MB / 1.483 GB, free: 1.125 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.5321, allocations: 173.1 kB / 1.483 GB, free: 0.9453 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.5322, allocations: 88.14 kB / 1.483 GB, free: 0.8555 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.377e-05/0.5322, allocations: 75.28 kB / 1.483 GB, free: 0.7812 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.5322, allocations: 105.8 kB / 1.483 GB, free: 0.668 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.5323, allocations: 0 / 1.483 GB, free: 0.668 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 8.868e-05/0.5323, allocations: 41.61 kB / 1.483 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/0.5324, allocations: 126.7 kB / 1.484 GB, free: 496 kB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.5327, allocations: 265.7 kB / 1.484 GB, free: 220 kB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.5327, allocations: 25.7 kB / 1.484 GB, free: 188 kB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5328, allocations: 135.9 kB / 1.484 GB, free: 48 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.919e-06/0.5328, allocations: 4 kB / 1.484 GB, free: 44 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.5328, allocations: 25.66 kB / 1.484 GB, free: 12 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.533, allocations: 334.8 kB / 1.484 GB, free: 15.68 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.533, allocations: 4 kB / 1.484 GB, free: 15.67 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.128e-05/0.5331, allocations: 57.98 kB / 1.484 GB, free: 15.59 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.5332, allocations: 69.83 kB / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5332, allocations: 0 / 1.484 GB, free: 15.5 MB / 1.186 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000164/0.5333, allocations: 85.47 kB / 1.485 GB, free: 15.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.5333, allocations: 7.984 kB / 1.485 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5333, allocations: 4 kB / 1.485 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5334, allocations: 0 / 1.485 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.959e-05/0.5334, allocations: 16.22 kB / 1.485 GB, free: 15.39 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.5334, allocations: 7.938 kB / 1.485 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.254e-05/0.5335, allocations: 19.84 kB / 1.485 GB, free: 15.36 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.5335, allocations: 4 kB / 1.485 GB, free: 15.36 MB / 1.186 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.0001473/0.5337, allocations: 201.6 kB / 1.485 GB, free: 15.15 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.5337, allocations: 124.8 kB / 1.485 GB, free: 15.02 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.794e-05/0.5338, allocations: 121.7 kB / 1.485 GB, free: 14.89 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-05/0.5339, allocations: 184.3 kB / 1.485 GB, free: 14.7 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.345e-05/0.534, allocations: 180.2 kB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.548e-05/0.534, allocations: 176.3 kB / 1.486 GB, free: 14.34 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.5343, allocations: 428.2 kB / 1.486 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.991e-05/0.5344, allocations: 108.9 kB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.5344, allocations: 101 kB / 1.486 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.747e-05/0.5345, allocations: 184.4 kB / 1.486 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.485e-05/0.5346, allocations: 184.3 kB / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.348e-05/0.5347, allocations: 184.3 kB / 1.487 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-05/0.5348, allocations: 180.2 kB / 1.487 GB, free: 12.91 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.5349, allocations: 331.6 kB / 1.487 GB, free: 12.56 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.535, allocations: 124.9 kB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.364e-05/0.5351, allocations: 176.3 kB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.5352, allocations: 104.9 kB / 1.488 GB, free: 12.14 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.5353, allocations: 188.2 kB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.5353, allocations: 108.9 kB / 1.488 GB, free: 11.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0001717/0.5355, allocations: 177.2 kB / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of sort global known variables: time 5e-08/0.5355, allocations: 0 / 1.488 GB, free: 11.66 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002563/0.5358, allocations: 20 kB / 1.488 GB, free: 11.64 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.0004793/0.5363, allocations: 0.8304 MB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.353e-05/0.5363, allocations: 23.88 kB / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5363, allocations: 0 / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 7.585e-06/0.5364, allocations: 3.938 kB / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.5371, allocations: 0.5036 MB / 1.489 GB, free: 10.26 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.5392, allocations: 2.053 MB / 1.491 GB, free: 8.082 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.5395, allocations: 0.7125 MB / 1.492 GB, free: 7.344 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 6.743e-05/0.5396, allocations: 21.62 kB / 1.492 GB, free: 7.324 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.5397, allocations: 47.42 kB / 1.492 GB, free: 7.277 MB / 1.186 GB Notification: Performance of SimCode: time 5.61e-07/0.5397, allocations: 0 / 1.492 GB, free: 7.277 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.5639, allocations: 3.741 MB / 1.496 GB, free: 3.707 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/12.02, allocations: 12.3 kB / 1.496 GB, free: 3.703 MB / 1.186 GB " [Timeout remaining time 288] (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: 18.654625040013343]