Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.00135/0.00135, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001651/0.001651, allocations: 217.6 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.111/3.111, allocations: 0.49 GB / 0.7959 GB, free: 33.46 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.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001975/0.001975, allocations: 74.92 kB / 1.155 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1814/0.5254, allocations: 151.6 MB / 1.475 GB, free: 9.734 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005733/0.5311, allocations: 4.765 MB / 1.479 GB, free: 4.949 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003483/0.5314, allocations: 11.94 kB / 1.479 GB, free: 4.938 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005872/0.532, allocations: 170.8 kB / 1.48 GB, free: 4.77 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.5324, allocations: 83.45 kB / 1.48 GB, free: 4.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001856/0.5326, allocations: 75.8 kB / 1.48 GB, free: 4.613 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0004142/0.533, allocations: 302.8 kB / 1.48 GB, free: 4.316 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002677/0.5333, allocations: 104.5 kB / 1.48 GB, free: 4.219 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.5335, allocations: 115.5 kB / 1.48 GB, free: 4.105 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002362/0.5337, allocations: 151.4 kB / 1.48 GB, free: 3.957 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.5337, allocations: 16 kB / 1.48 GB, free: 3.941 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 3.102e-05/0.5338, allocations: 20 kB / 1.48 GB, free: 3.922 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 9.692e-05/0.5339, allocations: 71.75 kB / 1.48 GB, free: 3.852 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.534, allocations: 99.48 kB / 1.481 GB, free: 3.754 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.5343, allocations: 242.8 kB / 1.481 GB, free: 3.516 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.5343, allocations: 0 / 1.481 GB, free: 3.516 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5343, allocations: 0 / 1.481 GB, free: 3.516 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.5343, allocations: 0 / 1.481 GB, free: 3.516 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005212/0.5348, allocations: 421.7 kB / 1.481 GB, free: 3.074 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5349, allocations: 8.031 kB / 1.481 GB, free: 3.066 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.256e-05/0.5349, allocations: 12.62 kB / 1.481 GB, free: 3.055 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.046e-05/0.535, allocations: 62.72 kB / 1.481 GB, free: 2.984 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.535, allocations: 24.8 kB / 1.481 GB, free: 2.961 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.5354, allocations: 198.8 kB / 1.482 GB, free: 2.742 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.5354, allocations: 16.81 kB / 1.482 GB, free: 2.723 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.5355, allocations: 32.05 kB / 1.482 GB, free: 2.691 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.5359, allocations: 304.9 kB / 1.482 GB, free: 2.344 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.5359, allocations: 3.938 kB / 1.482 GB, free: 2.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.5359, allocations: 15.94 kB / 1.482 GB, free: 2.324 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.536, allocations: 8 kB / 1.482 GB, free: 2.316 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.5362, allocations: 119.8 kB / 1.482 GB, free: 2.199 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.5376, allocations: 1.935 MB / 1.484 GB, free: 168 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.5377, allocations: 177.1 kB / 1.484 GB, free: 15.98 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.5378, allocations: 84.17 kB / 1.484 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.5378, allocations: 75.28 kB / 1.484 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.5379, allocations: 105.8 kB / 1.484 GB, free: 15.71 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.312e-06/0.5379, allocations: 0 / 1.484 GB, free: 15.71 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.538, allocations: 53.5 kB / 1.484 GB, free: 15.65 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.5381, allocations: 130.7 kB / 1.484 GB, free: 15.51 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003704/0.5384, allocations: 332.5 kB / 1.485 GB, free: 15.17 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.5384, allocations: 25.7 kB / 1.485 GB, free: 15.14 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.5386, allocations: 163.8 kB / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/0.5386, allocations: 4 kB / 1.485 GB, free: 14.97 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.5386, allocations: 21.66 kB / 1.485 GB, free: 14.94 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5388, allocations: 334.8 kB / 1.485 GB, free: 14.61 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.5388, allocations: 15.98 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.5388, allocations: 50.88 kB / 1.485 GB, free: 14.52 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.5389, allocations: 74.73 kB / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5389, allocations: 0 / 1.485 GB, free: 14.42 MB / 1.186 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001949/0.5391, allocations: 101.5 kB / 1.486 GB, free: 14.31 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.5392, allocations: 11.94 kB / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5392, allocations: 0 / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5392, allocations: 4 kB / 1.486 GB, free: 14.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.568e-05/0.5393, allocations: 19.92 kB / 1.486 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5393, allocations: 0 / 1.486 GB, free: 14.28 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.5394, allocations: 27.73 kB / 1.486 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.5394, allocations: 8 kB / 1.486 GB, free: 14.24 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001476/0.5395, allocations: 217.7 kB / 1.486 GB, free: 14.02 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.5396, allocations: 128.8 kB / 1.486 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.5397, allocations: 122 kB / 1.486 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.833e-05/0.5398, allocations: 192.1 kB / 1.486 GB, free: 13.56 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.501e-05/0.5398, allocations: 176.3 kB / 1.486 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.336e-05/0.5399, allocations: 180.4 kB / 1.487 GB, free: 13.2 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.5403, allocations: 460.2 kB / 1.487 GB, free: 12.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.304e-05/0.5403, allocations: 105 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.5404, allocations: 104.9 kB / 1.487 GB, free: 12.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.238e-05/0.5404, allocations: 180.2 kB / 1.487 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.977e-05/0.5405, allocations: 192.1 kB / 1.488 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-05/0.5406, allocations: 176.3 kB / 1.488 GB, free: 11.92 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-05/0.5407, allocations: 180.3 kB / 1.488 GB, free: 11.74 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.5408, allocations: 331.6 kB / 1.488 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 9.86e-05/0.5409, allocations: 132.8 kB / 1.488 GB, free: 11.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.541, allocations: 180.2 kB / 1.489 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001152/0.5412, allocations: 105 kB / 1.489 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.232e-05/0.5412, allocations: 184.2 kB / 1.489 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.5413, allocations: 109 kB / 1.489 GB, free: 10.66 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.000251/0.5415, allocations: 235 kB / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.5415, allocations: 0 / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002762/0.5418, allocations: 27.94 kB / 1.489 GB, free: 10.41 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.0005007/0.5423, allocations: 0.8359 MB / 1.49 GB, free: 9.543 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.5424, allocations: 23.92 kB / 1.49 GB, free: 9.52 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5424, allocations: 0 / 1.49 GB, free: 9.52 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 3.626e-06/0.5424, allocations: 4.5 kB / 1.49 GB, free: 9.516 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.5432, allocations: 0.5187 MB / 1.491 GB, free: 8.992 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.546, allocations: 2.524 MB / 1.493 GB, free: 6.355 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.5464, allocations: 0.7401 MB / 1.494 GB, free: 5.59 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.5465, allocations: 30.28 kB / 1.494 GB, free: 5.555 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.5466, allocations: 67.41 kB / 1.494 GB, free: 5.488 MB / 1.186 GB Notification: Performance of SimCode: time 1.192e-06/0.5466, allocations: 0 / 1.494 GB, free: 5.488 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.5726, allocations: 4.983 MB / 1.499 GB, free: 0.6953 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.1, allocations: 4.062 kB / 1.499 GB, free: 0.6914 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.78062015597243]