Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 194 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.288/2.288, allocations: 390.2 MB / 0.6647 GB, free: 260 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.8126 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5152/0.5166, allocations: 140.4 MB / 0.9497 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1402/0.6569, allocations: 148 MB / 1.094 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004643/0.6616, allocations: 4.658 MB / 1.099 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.6618, allocations: 11.94 kB / 1.099 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004319/0.6623, allocations: 158.9 kB / 1.099 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.6626, allocations: 91.38 kB / 1.099 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.6628, allocations: 63.86 kB / 1.099 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.6631, allocations: 302.7 kB / 1.099 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.6634, allocations: 139.7 kB / 1.1 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.6636, allocations: 119.4 kB / 1.1 GB, free: 7.734 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.6638, allocations: 155.4 kB / 1.1 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.828e-05/0.6639, allocations: 16 kB / 1.1 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.855e-05/0.6639, allocations: 16 kB / 1.1 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.664, allocations: 59.83 kB / 1.1 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.6641, allocations: 107.4 kB / 1.1 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002137/0.6643, allocations: 225.5 kB / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6643, allocations: 0 / 1.1 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.153e-06/0.6643, allocations: 4 kB / 1.1 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6643, allocations: 0 / 1.1 GB, free: 7.164 MB / 0.8575 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.0004287/0.6648, allocations: 499.7 kB / 1.101 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.6648, allocations: 8.031 kB / 1.101 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.428e-05/0.6649, allocations: 54.73 kB / 1.101 GB, free: 6.559 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.6649, allocations: 24.66 kB / 1.101 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.6652, allocations: 259.8 kB / 1.101 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.6652, allocations: 12.81 kB / 1.101 GB, free: 6.227 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.6652, allocations: 28.36 kB / 1.101 GB, free: 6.199 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003584/0.6656, allocations: 304.8 kB / 1.101 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6656, allocations: 7.938 kB / 1.101 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.6656, allocations: 11.98 kB / 1.101 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.6657, allocations: 8 kB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.6658, allocations: 119.8 kB / 1.101 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.667, allocations: 1.969 MB / 1.103 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/0.667, allocations: 169.1 kB / 1.104 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.6671, allocations: 84.08 kB / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.6671, allocations: 75.28 kB / 1.104 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6672, allocations: 113.8 kB / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.6672, allocations: 0 / 1.104 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.88e-05/0.6673, allocations: 53.36 kB / 1.104 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.6673, allocations: 126.7 kB / 1.104 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.6676, allocations: 328.5 kB / 1.104 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.6677, allocations: 29.69 kB / 1.104 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6678, allocations: 163.7 kB / 1.104 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.977e-06/0.6678, allocations: 4 kB / 1.104 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.6678, allocations: 25.75 kB / 1.105 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6679, allocations: 342.8 kB / 1.105 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/0.668, allocations: 7.938 kB / 1.105 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.668, allocations: 54.86 kB / 1.105 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.6681, allocations: 70.75 kB / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6681, allocations: 0 / 1.105 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001702/0.6683, allocations: 105.3 kB / 1.105 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.6683, allocations: 8 kB / 1.105 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.6683, allocations: 3.938 kB / 1.105 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.6683, allocations: 4 kB / 1.105 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.003e-05/0.6684, allocations: 19.94 kB / 1.105 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6684, allocations: 7.922 kB / 1.105 GB, free: 1.734 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.681e-05/0.6685, allocations: 31.84 kB / 1.105 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.6685, allocations: 8 kB / 1.105 GB, free: 1.695 MB / 0.8575 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.0001134/0.6686, allocations: 209.1 kB / 1.105 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.6687, allocations: 124.7 kB / 1.105 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.904e-05/0.6688, allocations: 126 kB / 1.106 GB, free: 1.219 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/0.6688, allocations: 184.2 kB / 1.106 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-05/0.6689, allocations: 180.3 kB / 1.106 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.691e-05/0.6689, allocations: 180.3 kB / 1.106 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002559/0.6692, allocations: 481.1 kB / 1.107 GB, free: 140 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/0.6692, allocations: 101 kB / 1.107 GB, free: 32 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.6693, allocations: 104.9 kB / 1.107 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.5e-05/0.6693, allocations: 180.2 kB / 1.107 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-05/0.6694, allocations: 188.2 kB / 1.107 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.631e-05/0.6694, allocations: 180.2 kB / 1.107 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.645e-05/0.6695, allocations: 180.3 kB / 1.107 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.6696, allocations: 331.5 kB / 1.108 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.668e-05/0.6697, allocations: 205.8 kB / 1.108 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.529e-05/0.6698, allocations: 188.2 kB / 1.108 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.6699, allocations: 101 kB / 1.108 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.6699, allocations: 184.2 kB / 1.108 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.67, allocations: 105 kB / 1.109 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002102/0.6702, allocations: 235 kB / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6702, allocations: 0 / 1.109 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002702/0.6705, allocations: 31.94 kB / 1.109 GB, free: 13.75 MB / 0.8731 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.0003188/0.6708, allocations: 0.8322 MB / 1.11 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.654e-05/0.6709, allocations: 32.36 kB / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.6709, allocations: 0 / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-06/0.6709, allocations: 0 / 1.11 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006936/0.6716, allocations: 0.5293 MB / 1.11 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002211/0.6738, allocations: 2.537 MB / 1.113 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.6741, allocations: 0.748 MB / 1.113 GB, free: 8.895 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.389e-05/0.6742, allocations: 26.3 kB / 1.113 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.6743, allocations: 59.41 kB / 1.113 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/0.6743, allocations: 0 / 1.113 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.6925, allocations: 4.729 MB / 1.118 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.11/7.803, allocations: 5.953 kB / 1.118 GB, free: 4.207 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches