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.001662/0.001662, allocations: 118.9 kB / 17.16 MB, free: 5.914 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.002011/0.002011, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.903/2.903, allocations: 0.49 GB / 0.7923 GB, free: 1.328 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.002053/0.002053, allocations: 67.89 kB / 1.15 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8652/0.8672, allocations: 176.1 MB / 1.322 GB, free: 7.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1832/1.05, allocations: 151.5 MB / 1.469 GB, free: 14.16 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005576/1.056, allocations: 4.699 MB / 1.474 GB, free: 9.449 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003106/1.056, allocations: 11.94 kB / 1.474 GB, free: 9.438 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005323/1.057, allocations: 174.8 kB / 1.474 GB, free: 9.266 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003401/1.057, allocations: 83.38 kB / 1.474 GB, free: 9.184 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/1.057, allocations: 67.92 kB / 1.474 GB, free: 9.117 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/1.058, allocations: 298.8 kB / 1.475 GB, free: 8.824 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000261/1.058, allocations: 117.5 kB / 1.475 GB, free: 8.715 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001806/1.058, allocations: 115.6 kB / 1.475 GB, free: 8.602 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002183/1.058, allocations: 159.4 kB / 1.475 GB, free: 8.445 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.867e-05/1.058, allocations: 16 kB / 1.475 GB, free: 8.43 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 2.922e-05/1.058, allocations: 16 kB / 1.475 GB, free: 8.414 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/1.059, allocations: 67.75 kB / 1.475 GB, free: 8.348 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001086/1.059, allocations: 99.48 kB / 1.475 GB, free: 8.25 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003009/1.059, allocations: 246.8 kB / 1.475 GB, free: 8.008 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/1.059, allocations: 3.984 kB / 1.475 GB, free: 8.004 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.633e-06/1.059, allocations: 0 / 1.475 GB, free: 8.004 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.19e-05/1.059, allocations: 0 / 1.475 GB, free: 8.004 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.0005467/1.06, allocations: 496.8 kB / 1.476 GB, free: 7.473 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.06, allocations: 11.98 kB / 1.476 GB, free: 7.461 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/1.06, allocations: 8.625 kB / 1.476 GB, free: 7.453 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/1.06, allocations: 54.73 kB / 1.476 GB, free: 7.391 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/1.06, allocations: 28.8 kB / 1.476 GB, free: 7.363 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/1.06, allocations: 275.9 kB / 1.476 GB, free: 7.055 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/1.06, allocations: 12.81 kB / 1.476 GB, free: 7.039 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/1.06, allocations: 24.12 kB / 1.476 GB, free: 7.016 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/1.061, allocations: 308.8 kB / 1.477 GB, free: 6.664 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.061, allocations: 7.938 kB / 1.477 GB, free: 6.656 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/1.061, allocations: 12 kB / 1.477 GB, free: 6.645 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/1.061, allocations: 8 kB / 1.477 GB, free: 6.637 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000194/1.061, allocations: 123.7 kB / 1.477 GB, free: 6.516 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/1.062, allocations: 1.969 MB / 1.479 GB, free: 4.438 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/1.062, allocations: 169.1 kB / 1.479 GB, free: 4.262 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.29e-05/1.062, allocations: 88.08 kB / 1.479 GB, free: 4.172 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/1.062, allocations: 75.28 kB / 1.479 GB, free: 4.098 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/1.063, allocations: 109.8 kB / 1.479 GB, free: 3.98 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.753e-06/1.063, allocations: 0 / 1.479 GB, free: 3.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 9.728e-05/1.063, allocations: 49.5 kB / 1.479 GB, free: 3.926 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/1.063, allocations: 130.7 kB / 1.479 GB, free: 3.785 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003715/1.063, allocations: 332.5 kB / 1.48 GB, free: 3.445 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/1.063, allocations: 25.7 kB / 1.48 GB, free: 3.414 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/1.063, allocations: 167.8 kB / 1.48 GB, free: 3.246 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-06/1.063, allocations: 0 / 1.48 GB, free: 3.246 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/1.063, allocations: 25.64 kB / 1.48 GB, free: 3.215 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000156/1.063, allocations: 334.8 kB / 1.48 GB, free: 2.879 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.182e-05/1.063, allocations: 11.92 kB / 1.48 GB, free: 2.867 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.802e-05/1.064, allocations: 54.88 kB / 1.48 GB, free: 2.789 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.817e-05/1.064, allocations: 74.73 kB / 1.48 GB, free: 2.691 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.064, allocations: 0 / 1.48 GB, free: 2.691 MB / 1.154 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001875/1.064, allocations: 97.42 kB / 1.48 GB, free: 2.59 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/1.064, allocations: 13.97 kB / 1.48 GB, free: 2.578 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.064, allocations: 256 / 1.48 GB, free: 2.578 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.064, allocations: 8 kB / 1.48 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.356e-05/1.064, allocations: 19.92 kB / 1.48 GB, free: 2.551 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.064, allocations: 0 / 1.48 GB, free: 2.551 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/1.064, allocations: 31.73 kB / 1.48 GB, free: 2.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/1.064, allocations: 7.984 kB / 1.48 GB, free: 2.512 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.0001425/1.064, allocations: 213 kB / 1.481 GB, free: 2.293 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.064, allocations: 132.7 kB / 1.481 GB, free: 2.156 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/1.064, allocations: 130 kB / 1.481 GB, free: 2.02 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.419e-05/1.064, allocations: 180.2 kB / 1.481 GB, free: 1.836 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.577e-05/1.064, allocations: 180.2 kB / 1.481 GB, free: 1.652 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.57e-05/1.065, allocations: 180.3 kB / 1.481 GB, free: 1.469 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003355/1.065, allocations: 477.1 kB / 1.482 GB, free: 0.9453 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/1.065, allocations: 109 kB / 1.482 GB, free: 0.832 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/1.065, allocations: 112.9 kB / 1.482 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-05/1.065, allocations: 180.4 kB / 1.482 GB, free: 0.5312 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.8e-05/1.065, allocations: 188.3 kB / 1.482 GB, free: 348 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.139e-05/1.065, allocations: 180.2 kB / 1.483 GB, free: 160 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.265e-05/1.065, allocations: 184.2 kB / 1.483 GB, free: 15.97 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/1.065, allocations: 327.6 kB / 1.483 GB, free: 15.62 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/1.066, allocations: 205.9 kB / 1.483 GB, free: 15.4 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/1.066, allocations: 184.1 kB / 1.483 GB, free: 15.21 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/1.066, allocations: 101 kB / 1.484 GB, free: 15.11 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.226e-05/1.066, allocations: 188.2 kB / 1.484 GB, free: 14.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.002e-05/1.066, allocations: 109 kB / 1.484 GB, free: 14.8 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002456/1.066, allocations: 235 kB / 1.484 GB, free: 14.57 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.066, allocations: 0 / 1.484 GB, free: 14.57 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002578/1.066, allocations: 24 kB / 1.484 GB, free: 14.55 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.0004641/1.067, allocations: 0.8358 MB / 1.485 GB, free: 13.69 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001143/1.067, allocations: 27.92 kB / 1.485 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.067, allocations: 0 / 1.485 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/1.067, allocations: 0 / 1.485 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007308/1.068, allocations: 0.5202 MB / 1.485 GB, free: 13.14 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/1.07, allocations: 2.514 MB / 1.488 GB, free: 10.5 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/1.071, allocations: 0.744 MB / 1.489 GB, free: 9.734 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001035/1.071, allocations: 26.3 kB / 1.489 GB, free: 9.707 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/1.071, allocations: 63.41 kB / 1.489 GB, free: 9.645 MB / 1.17 GB Notification: Performance of SimCode: time 3.7e-07/1.071, allocations: 0 / 1.489 GB, free: 9.645 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02166/1.093, allocations: 4.876 MB / 1.493 GB, free: 4.941 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/9.861, allocations: 8.594 kB / 1.493 GB, free: 4.938 MB / 1.17 GB " [Timeout remaining time 290] (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: 16.132352919026744]