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.001492/0.001492, allocations: 101.3 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.001769/0.001769, allocations: 220.4 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.147/3.147, allocations: 0.49 GB / 0.7959 GB, free: 35.51 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.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.002056/0.002056, allocations: 63.53 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3474, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1651/0.5125, allocations: 130.7 MB / 1.454 GB, free: 14.34 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006023/0.5185, allocations: 4.353 MB / 1.459 GB, free: 9.965 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003655/0.5189, allocations: 15.88 kB / 1.459 GB, free: 9.949 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006313/0.5195, allocations: 166.9 kB / 1.459 GB, free: 9.785 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.52, allocations: 91.39 kB / 1.459 GB, free: 9.695 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002286/0.5202, allocations: 63.92 kB / 1.459 GB, free: 9.633 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.000547/0.5207, allocations: 302.8 kB / 1.459 GB, free: 9.336 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.5211, allocations: 104.5 kB / 1.459 GB, free: 9.238 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.5213, allocations: 123.5 kB / 1.459 GB, free: 9.117 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002567/0.5216, allocations: 147.4 kB / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.867e-05/0.5216, allocations: 16 kB / 1.459 GB, free: 8.957 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.416e-05/0.5216, allocations: 20 kB / 1.46 GB, free: 8.938 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000192/0.5218, allocations: 67.77 kB / 1.46 GB, free: 8.871 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.522, allocations: 83.61 kB / 1.46 GB, free: 8.789 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003442/0.5223, allocations: 238.9 kB / 1.46 GB, free: 8.555 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5223, allocations: 0 / 1.46 GB, free: 8.555 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5223, allocations: 0 / 1.46 GB, free: 8.555 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.5223, allocations: 0 / 1.46 GB, free: 8.555 MB / 1.154 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.0006351/0.5229, allocations: 425.7 kB / 1.46 GB, free: 8.109 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.523, allocations: 8.031 kB / 1.46 GB, free: 8.102 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.004e-05/0.523, allocations: 8.625 kB / 1.46 GB, free: 8.094 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.984e-05/0.5231, allocations: 62.66 kB / 1.46 GB, free: 8.023 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.641e-05/0.5232, allocations: 28.8 kB / 1.46 GB, free: 7.996 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005098/0.5237, allocations: 207.8 kB / 1.461 GB, free: 7.77 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.5237, allocations: 12.81 kB / 1.461 GB, free: 7.754 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.5237, allocations: 28.12 kB / 1.461 GB, free: 7.727 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.5242, allocations: 296.9 kB / 1.461 GB, free: 7.387 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.5243, allocations: 4 kB / 1.461 GB, free: 7.383 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.5243, allocations: 15.94 kB / 1.461 GB, free: 7.367 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.5243, allocations: 11.98 kB / 1.461 GB, free: 7.355 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.5245, allocations: 123.7 kB / 1.461 GB, free: 7.234 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.5263, allocations: 1.9 MB / 1.463 GB, free: 5.234 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.5265, allocations: 169.1 kB / 1.463 GB, free: 5.059 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.5266, allocations: 84.12 kB / 1.463 GB, free: 4.973 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.5266, allocations: 75.28 kB / 1.463 GB, free: 4.898 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.028e-05/0.5267, allocations: 109.8 kB / 1.463 GB, free: 4.781 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5267, allocations: 4 kB / 1.463 GB, free: 4.777 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001062/0.5268, allocations: 57.44 kB / 1.463 GB, free: 4.715 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.5269, allocations: 130.7 kB / 1.464 GB, free: 4.574 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.5273, allocations: 328.5 kB / 1.464 GB, free: 4.238 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.5273, allocations: 25.7 kB / 1.464 GB, free: 4.207 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5275, allocations: 163.8 kB / 1.464 GB, free: 4.043 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/0.5275, allocations: 4 kB / 1.464 GB, free: 4.039 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.5275, allocations: 17.72 kB / 1.464 GB, free: 4.016 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.5277, allocations: 334.8 kB / 1.464 GB, free: 3.68 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.974e-05/0.5277, allocations: 8 kB / 1.464 GB, free: 3.672 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.5278, allocations: 58.84 kB / 1.464 GB, free: 3.59 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.5279, allocations: 78.77 kB / 1.464 GB, free: 3.488 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5279, allocations: 0 / 1.464 GB, free: 3.488 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001923/0.5281, allocations: 109.4 kB / 1.465 GB, free: 3.375 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5281, allocations: 11.94 kB / 1.465 GB, free: 3.363 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5281, allocations: 0 / 1.465 GB, free: 3.363 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.5281, allocations: 4 kB / 1.465 GB, free: 3.359 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.5282, allocations: 15.98 kB / 1.465 GB, free: 3.344 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5282, allocations: 3.938 kB / 1.465 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.312e-05/0.5283, allocations: 27.73 kB / 1.465 GB, free: 3.312 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.5283, allocations: 4 kB / 1.465 GB, free: 3.309 MB / 1.154 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.000159/0.5284, allocations: 213.9 kB / 1.465 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.897e-05/0.5285, allocations: 128.8 kB / 1.465 GB, free: 2.957 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.006e-05/0.5286, allocations: 133.9 kB / 1.465 GB, free: 2.816 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.538e-05/0.5287, allocations: 176.3 kB / 1.465 GB, free: 2.637 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.351e-05/0.5288, allocations: 180.2 kB / 1.465 GB, free: 2.453 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.553e-05/0.5289, allocations: 184.4 kB / 1.466 GB, free: 2.266 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003247/0.5292, allocations: 440.2 kB / 1.466 GB, free: 1.785 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-05/0.5293, allocations: 109 kB / 1.466 GB, free: 1.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.5294, allocations: 105 kB / 1.466 GB, free: 1.562 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.163e-05/0.5295, allocations: 188.1 kB / 1.466 GB, free: 1.371 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.105e-05/0.5296, allocations: 184.2 kB / 1.467 GB, free: 1.184 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001212/0.5297, allocations: 184.2 kB / 1.467 GB, free: 0.9961 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.498e-05/0.5298, allocations: 176.3 kB / 1.467 GB, free: 0.8164 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.53, allocations: 331.6 kB / 1.467 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5301, allocations: 132.8 kB / 1.467 GB, free: 340 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.5302, allocations: 188.1 kB / 1.468 GB, free: 144 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.5304, allocations: 101 kB / 1.468 GB, free: 36 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.5305, allocations: 184.3 kB / 1.468 GB, free: 15.85 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.747e-05/0.5305, allocations: 104.9 kB / 1.468 GB, free: 15.74 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002581/0.5308, allocations: 235 kB / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.5308, allocations: 0 / 1.468 GB, free: 15.51 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002921/0.5311, allocations: 27.94 kB / 1.468 GB, free: 15.48 MB / 1.17 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.0005609/0.5316, allocations: 0.832 MB / 1.469 GB, free: 14.62 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.5317, allocations: 31.86 kB / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5317, allocations: 0 / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.5317, allocations: 0 / 1.469 GB, free: 14.59 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007519/0.5325, allocations: 0.5163 MB / 1.47 GB, free: 14.07 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002798/0.5353, allocations: 2.51 MB / 1.472 GB, free: 11.45 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.5355, allocations: 133.6 kB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.5356, allocations: 30.28 kB / 1.472 GB, free: 11.26 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.565e-05/0.5357, allocations: 63.42 kB / 1.472 GB, free: 11.2 MB / 1.17 GB Notification: Performance of SimCode: time 5.11e-07/0.5357, allocations: 0 / 1.472 GB, free: 11.2 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02907/0.5648, allocations: 5.258 MB / 1.477 GB, free: 6.184 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.4, allocations: 8.141 kB / 1.477 GB, free: 6.18 MB / 1.17 GB " [Timeout remaining time 287] (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: 19.275434384006076]