Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001766/0.001766, allocations: 105.7 kB / 16.45 MB, free: 6.039 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.001892/0.001892, allocations: 196.5 kB / 19.41 MB, free: 3.535 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.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.608/2.608, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 71.89 kB / 1.056 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7809/0.7829, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2108/0.9936, allocations: 174.6 MB / 1.383 GB, free: 8.957 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01078/1.004, allocations: 9.576 MB / 1.393 GB, free: 15.35 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002978/1.005, allocations: 11.94 kB / 1.393 GB, free: 15.34 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005739/1.005, allocations: 194.7 kB / 1.393 GB, free: 15.15 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0002564/1.006, allocations: 95.31 kB / 1.393 GB, free: 15.05 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/1.006, allocations: 63.92 kB / 1.393 GB, free: 14.99 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004321/1.006, allocations: 330.6 kB / 1.393 GB, free: 14.67 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/1.006, allocations: 141 kB / 1.394 GB, free: 14.53 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003576/1.007, allocations: 167.4 kB / 1.394 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/1.007, allocations: 127.3 kB / 1.394 GB, free: 14.24 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/1.007, allocations: 20 kB / 1.394 GB, free: 14.22 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 3.713e-05/1.007, allocations: 24 kB / 1.394 GB, free: 14.2 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/1.007, allocations: 75.75 kB / 1.394 GB, free: 14.12 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/1.007, allocations: 123.4 kB / 1.394 GB, free: 14 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000356/1.008, allocations: 298.7 kB / 1.394 GB, free: 13.71 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.008, allocations: 0 / 1.394 GB, free: 13.71 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/1.008, allocations: 4 kB / 1.394 GB, free: 13.7 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.195e-05/1.008, allocations: 0 / 1.394 GB, free: 13.7 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005918/1.008, allocations: 0.5143 MB / 1.395 GB, free: 13.14 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.008, allocations: 8.625 kB / 1.395 GB, free: 13.13 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.823e-05/1.008, allocations: 70.53 kB / 1.395 GB, free: 13.05 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.352e-05/1.008, allocations: 35.75 kB / 1.395 GB, free: 13.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/1.009, allocations: 282.4 kB / 1.395 GB, free: 12.7 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/1.009, allocations: 20.56 kB / 1.395 GB, free: 12.68 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/1.009, allocations: 24 kB / 1.395 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/1.009, allocations: 327.9 kB / 1.396 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.009, allocations: 0 / 1.396 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/1.009, allocations: 12 kB / 1.396 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/1.009, allocations: 11.94 kB / 1.396 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/1.01, allocations: 143.7 kB / 1.396 GB, free: 12.13 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/1.011, allocations: 1.82 MB / 1.398 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/1.011, allocations: 173.1 kB / 1.398 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/1.011, allocations: 92.02 kB / 1.398 GB, free: 9.941 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/1.011, allocations: 79.28 kB / 1.398 GB, free: 9.863 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/1.011, allocations: 109.8 kB / 1.398 GB, free: 9.746 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/1.011, allocations: 0 / 1.398 GB, free: 9.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 9.861e-05/1.012, allocations: 53.52 kB / 1.398 GB, free: 9.688 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.146e-05/1.012, allocations: 134.6 kB / 1.398 GB, free: 9.543 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004208/1.012, allocations: 377.7 kB / 1.399 GB, free: 9.164 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/1.012, allocations: 25.7 kB / 1.399 GB, free: 9.133 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/1.012, allocations: 167.9 kB / 1.399 GB, free: 8.965 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/1.012, allocations: 0 / 1.399 GB, free: 8.965 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/1.012, allocations: 17.72 kB / 1.399 GB, free: 8.941 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.012, allocations: 334.8 kB / 1.399 GB, free: 8.605 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/1.012, allocations: 7.984 kB / 1.399 GB, free: 8.598 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/1.012, allocations: 36.3 kB / 1.399 GB, free: 8.547 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/1.012, allocations: 44.23 kB / 1.399 GB, free: 8.488 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.012, allocations: 0 / 1.399 GB, free: 8.488 MB / 1.107 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001585/1.013, allocations: 97.31 kB / 1.399 GB, free: 8.387 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.013, allocations: 4 kB / 1.399 GB, free: 8.383 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/1.013, allocations: 0 / 1.399 GB, free: 8.383 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/1.013, allocations: 7.984 kB / 1.399 GB, free: 8.375 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.438e-05/1.013, allocations: 8 kB / 1.399 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/1.013, allocations: 0 / 1.399 GB, free: 8.367 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.243e-05/1.013, allocations: 27.73 kB / 1.399 GB, free: 8.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/1.013, allocations: 4 kB / 1.399 GB, free: 8.336 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001602/1.013, allocations: 221.3 kB / 1.4 GB, free: 8.109 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.977e-05/1.013, allocations: 136.7 kB / 1.4 GB, free: 7.969 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/1.013, allocations: 130.7 kB / 1.4 GB, free: 7.832 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.671e-05/1.013, allocations: 184.2 kB / 1.4 GB, free: 7.645 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.793e-05/1.013, allocations: 180.3 kB / 1.4 GB, free: 7.461 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.487e-05/1.013, allocations: 184.2 kB / 1.4 GB, free: 7.273 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003864/1.014, allocations: 493 kB / 1.401 GB, free: 6.734 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/1.014, allocations: 101 kB / 1.401 GB, free: 6.629 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.339e-05/1.014, allocations: 105 kB / 1.401 GB, free: 6.52 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.688e-05/1.014, allocations: 188.2 kB / 1.401 GB, free: 6.328 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/1.014, allocations: 180.2 kB / 1.401 GB, free: 6.145 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-05/1.014, allocations: 184.3 kB / 1.402 GB, free: 5.957 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.861e-05/1.014, allocations: 184.2 kB / 1.402 GB, free: 5.77 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/1.014, allocations: 327.6 kB / 1.402 GB, free: 5.426 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/1.015, allocations: 213.8 kB / 1.402 GB, free: 5.191 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/1.015, allocations: 188.5 kB / 1.402 GB, free: 5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/1.015, allocations: 101 kB / 1.402 GB, free: 4.895 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/1.015, allocations: 184.2 kB / 1.403 GB, free: 4.707 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/1.015, allocations: 108.9 kB / 1.403 GB, free: 4.594 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002784/1.015, allocations: 267.2 kB / 1.403 GB, free: 4.336 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/1.015, allocations: 4 kB / 1.403 GB, free: 4.332 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002528/1.015, allocations: 27.94 kB / 1.403 GB, free: 4.305 MB / 1.107 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.0005051/1.016, allocations: 0.8436 MB / 1.404 GB, free: 3.434 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.887e-05/1.016, allocations: 15.92 kB / 1.404 GB, free: 3.418 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.016, allocations: 320 / 1.404 GB, free: 3.418 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/1.016, allocations: 8 kB / 1.404 GB, free: 3.41 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008063/1.017, allocations: 0.5451 MB / 1.404 GB, free: 2.863 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/1.02, allocations: 2.698 MB / 1.407 GB, free: 64 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/1.02, allocations: 0.7518 MB / 1.408 GB, free: 15.28 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001101/1.02, allocations: 34.97 kB / 1.408 GB, free: 15.25 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/1.02, allocations: 79.41 kB / 1.408 GB, free: 15.17 MB / 1.123 GB Notification: Performance of SimCode: time 4.81e-07/1.02, allocations: 0 / 1.408 GB, free: 15.17 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/1.051, allocations: 5.941 MB / 1.414 GB, free: 9.41 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/9.514, allocations: 12.69 kB / 1.414 GB, free: 9.402 MB / 1.123 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.257321190088987]