Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 110.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 247.8 MB, free: 13.97 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.134/3.134, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 70.53 kB / 1.134 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.31, allocations: 173.9 MB / 1.304 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1659/0.4759, allocations: 148.5 MB / 1.449 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005411/0.4813, allocations: 4.681 MB / 1.454 GB, free: 7.824 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.4815, allocations: 11.94 kB / 1.454 GB, free: 7.812 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.482, allocations: 162.9 kB / 1.454 GB, free: 7.652 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.4823, allocations: 87.38 kB / 1.454 GB, free: 7.566 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.4825, allocations: 63.92 kB / 1.454 GB, free: 7.504 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.4829, allocations: 306.7 kB / 1.454 GB, free: 7.203 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.4831, allocations: 111.9 kB / 1.454 GB, free: 7.094 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.4833, allocations: 115.5 kB / 1.454 GB, free: 6.98 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.4835, allocations: 159.4 kB / 1.455 GB, free: 6.824 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.4835, allocations: 16 kB / 1.455 GB, free: 6.809 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 3.042e-05/0.4836, allocations: 20 kB / 1.455 GB, free: 6.789 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.415e-05/0.4836, allocations: 63.77 kB / 1.455 GB, free: 6.727 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.4838, allocations: 99.48 kB / 1.455 GB, free: 6.629 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.484, allocations: 242.8 kB / 1.455 GB, free: 6.391 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.484, allocations: 0 / 1.455 GB, free: 6.391 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.382e-06/0.484, allocations: 0 / 1.455 GB, free: 6.391 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.484, allocations: 0 / 1.455 GB, free: 6.391 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.0005396/0.4846, allocations: 0.4962 MB / 1.455 GB, free: 5.848 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.4846, allocations: 8.625 kB / 1.456 GB, free: 5.84 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.83e-05/0.4847, allocations: 62.61 kB / 1.456 GB, free: 5.77 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.4847, allocations: 28.8 kB / 1.456 GB, free: 5.742 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.4851, allocations: 268 kB / 1.456 GB, free: 5.441 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.4852, allocations: 16.81 kB / 1.456 GB, free: 5.426 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.4852, allocations: 20.38 kB / 1.456 GB, free: 5.406 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.4856, allocations: 308.8 kB / 1.456 GB, free: 5.051 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4856, allocations: 4 kB / 1.456 GB, free: 5.047 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.4857, allocations: 11.98 kB / 1.456 GB, free: 5.035 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.4857, allocations: 4 kB / 1.456 GB, free: 5.031 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.4859, allocations: 119.7 kB / 1.456 GB, free: 4.914 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.4873, allocations: 1.966 MB / 1.458 GB, free: 2.84 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 9.687e-05/0.4874, allocations: 173.1 kB / 1.458 GB, free: 2.66 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.205e-05/0.4875, allocations: 84.14 kB / 1.458 GB, free: 2.574 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.4875, allocations: 75.28 kB / 1.459 GB, free: 2.5 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.4876, allocations: 105.8 kB / 1.459 GB, free: 2.387 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.4876, allocations: 0 / 1.459 GB, free: 2.387 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001063/0.4877, allocations: 65.38 kB / 1.459 GB, free: 2.316 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.4877, allocations: 130.6 kB / 1.459 GB, free: 2.176 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.4881, allocations: 336.5 kB / 1.459 GB, free: 1.84 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4881, allocations: 25.7 kB / 1.459 GB, free: 1.809 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.4883, allocations: 167.8 kB / 1.459 GB, free: 1.641 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-06/0.4883, allocations: 0 / 1.459 GB, free: 1.641 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-05/0.4883, allocations: 25.67 kB / 1.459 GB, free: 1.609 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4885, allocations: 334.8 kB / 1.46 GB, free: 1.273 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.922e-05/0.4885, allocations: 4 kB / 1.46 GB, free: 1.27 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.4885, allocations: 58.86 kB / 1.46 GB, free: 1.188 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.688e-05/0.4886, allocations: 74.75 kB / 1.46 GB, free: 1.09 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4886, allocations: 0 / 1.46 GB, free: 1.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001798/0.4888, allocations: 105.3 kB / 1.46 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4888, allocations: 8.25 kB / 1.46 GB, free: 0.9727 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.4888, allocations: 11.94 kB / 1.46 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4889, allocations: 0 / 1.46 GB, free: 0.9609 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.4889, allocations: 16 kB / 1.46 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.4889, allocations: 7.938 kB / 1.46 GB, free: 0.9375 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.489, allocations: 23.78 kB / 1.46 GB, free: 0.9141 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.489, allocations: 8.094 kB / 1.46 GB, free: 0.9062 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.0001469/0.4892, allocations: 213.1 kB / 1.46 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.4893, allocations: 136.8 kB / 1.46 GB, free: 0.5469 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.791e-05/0.4893, allocations: 133.9 kB / 1.46 GB, free: 416 kB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/0.4894, allocations: 180.3 kB / 1.461 GB, free: 228 kB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.332e-05/0.4895, allocations: 184.2 kB / 1.461 GB, free: 36 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-05/0.4896, allocations: 176.3 kB / 1.461 GB, free: 15.86 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003387/0.4899, allocations: 473.1 kB / 1.461 GB, free: 15.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-05/0.49, allocations: 112.9 kB / 1.462 GB, free: 15.22 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.49, allocations: 101 kB / 1.462 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.589e-05/0.4901, allocations: 180.2 kB / 1.462 GB, free: 14.93 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.14e-05/0.4902, allocations: 188.2 kB / 1.462 GB, free: 14.74 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.107e-05/0.4903, allocations: 184.3 kB / 1.462 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.267e-05/0.4903, allocations: 188.2 kB / 1.462 GB, free: 14.36 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.4905, allocations: 319.6 kB / 1.463 GB, free: 14.02 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.4906, allocations: 206.2 kB / 1.463 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.4908, allocations: 192.1 kB / 1.463 GB, free: 13.6 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.4909, allocations: 109 kB / 1.463 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.831e-05/0.491, allocations: 180.3 kB / 1.463 GB, free: 13.3 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.491, allocations: 104.9 kB / 1.463 GB, free: 13.2 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000254/0.4913, allocations: 239 kB / 1.464 GB, free: 12.96 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.4913, allocations: 0 / 1.464 GB, free: 12.96 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002684/0.4915, allocations: 24 kB / 1.464 GB, free: 12.94 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.0004932/0.492, allocations: 0.8359 MB / 1.464 GB, free: 12.08 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 9.446e-05/0.4921, allocations: 23.88 kB / 1.464 GB, free: 12.05 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4921, allocations: 0 / 1.464 GB, free: 12.05 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4921, allocations: 0 / 1.464 GB, free: 12.05 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007289/0.4928, allocations: 0.5202 MB / 1.465 GB, free: 11.53 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.4956, allocations: 2.51 MB / 1.467 GB, free: 8.902 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.496, allocations: 0.744 MB / 1.468 GB, free: 8.133 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.4961, allocations: 30.28 kB / 1.468 GB, free: 8.105 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.708e-05/0.4961, allocations: 59.42 kB / 1.468 GB, free: 8.047 MB / 1.17 GB Notification: Performance of SimCode: time 9.62e-07/0.4961, allocations: 0 / 1.468 GB, free: 8.047 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.5251, allocations: 4.826 MB / 1.473 GB, free: 3.375 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.445/8.97, allocations: 8.469 kB / 1.473 GB, free: 3.367 MB / 1.17 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.350915566086769]