Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.InletToAirDryAirCO2,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_10_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.004757/0.004761, allocations: 97.2 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.705/2.705, allocations: 437 MB / 0.7105 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 1.018 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2652, allocations: 151.6 MB / 1.166 GB, free: 7.172 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.668/0.9332, allocations: 148 MB / 1.311 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004202/0.9375, allocations: 4.634 MB / 1.315 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.9377, allocations: 14.72 kB / 1.315 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.9382, allocations: 164.7 kB / 1.315 GB, free: 12.25 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.9385, allocations: 89.88 kB / 1.316 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.9387, allocations: 59.94 kB / 1.316 GB, free: 12.21 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000374/0.939, allocations: 302.4 kB / 1.316 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.9393, allocations: 152.1 kB / 1.316 GB, free: 12.12 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.9395, allocations: 117.5 kB / 1.316 GB, free: 12.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.9397, allocations: 150.5 kB / 1.316 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.9397, allocations: 18.72 kB / 1.316 GB, free: 12.03 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.369e-05/0.9398, allocations: 20.25 kB / 1.316 GB, free: 12.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.9399, allocations: 61.86 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.94, allocations: 105.8 kB / 1.316 GB, free: 11.93 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002846/0.9403, allocations: 242.9 kB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9403, allocations: 1.062 kB / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.012e-06/0.9403, allocations: 0 / 1.317 GB, free: 11.84 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.9403, allocations: 0 / 1.317 GB, free: 11.84 MB / 1.014 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.0005363/0.9409, allocations: 494.4 kB / 1.317 GB, free: 11.39 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.9409, allocations: 10.12 kB / 1.317 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.941, allocations: 59.83 kB / 1.317 GB, free: 11.33 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.941, allocations: 30.39 kB / 1.317 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.9414, allocations: 268.7 kB / 1.318 GB, free: 11.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.9414, allocations: 18.22 kB / 1.318 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.9415, allocations: 18.5 kB / 1.318 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.9419, allocations: 315.6 kB / 1.318 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.9419, allocations: 1.125 kB / 1.318 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.942, allocations: 15.56 kB / 1.318 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.942, allocations: 7.188 kB / 1.318 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.9422, allocations: 125.9 kB / 1.318 GB, free: 10.76 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.9437, allocations: 1.966 MB / 1.32 GB, free: 8.922 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.9439, allocations: 167.5 kB / 1.32 GB, free: 8.75 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.949e-05/0.9439, allocations: 84.14 kB / 1.32 GB, free: 8.664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.944, allocations: 76.38 kB / 1.32 GB, free: 8.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.944, allocations: 110.5 kB / 1.32 GB, free: 8.473 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.944, allocations: 1.094 kB / 1.32 GB, free: 8.473 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001098/0.9442, allocations: 53.28 kB / 1.32 GB, free: 8.426 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.9442, allocations: 131.3 kB / 1.321 GB, free: 8.285 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003758/0.9446, allocations: 329.7 kB / 1.321 GB, free: 8.113 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.9446, allocations: 26.89 kB / 1.321 GB, free: 8.082 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.9448, allocations: 172.6 kB / 1.321 GB, free: 7.934 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.9448, allocations: 4.734 kB / 1.321 GB, free: 7.93 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.9448, allocations: 24.42 kB / 1.321 GB, free: 7.906 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.945, allocations: 332.8 kB / 1.321 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.813e-05/0.945, allocations: 5.406 kB / 1.321 GB, free: 7.586 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.9451, allocations: 62.34 kB / 1.321 GB, free: 7.512 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.395e-05/0.9452, allocations: 68.94 kB / 1.322 GB, free: 7.434 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9452, allocations: 1.188 kB / 1.322 GB, free: 7.434 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001834/0.9454, allocations: 106.6 kB / 1.322 GB, free: 7.367 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.9454, allocations: 9.75 kB / 1.322 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.9454, allocations: 4.719 kB / 1.322 GB, free: 7.363 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.9454, allocations: 7.297 kB / 1.322 GB, free: 7.359 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.773e-05/0.9455, allocations: 17.03 kB / 1.322 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.9455, allocations: 2.469 kB / 1.322 GB, free: 7.355 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.943e-05/0.9456, allocations: 28.94 kB / 1.322 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.9456, allocations: 4.156 kB / 1.322 GB, free: 7.336 MB / 1.014 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.0001696/0.9458, allocations: 213 kB / 1.322 GB, free: 7.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.874e-05/0.9459, allocations: 132.6 kB / 1.322 GB, free: 7.008 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.068e-05/0.946, allocations: 127.3 kB / 1.322 GB, free: 6.887 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.901e-05/0.9461, allocations: 182.5 kB / 1.322 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-05/0.9461, allocations: 182.3 kB / 1.322 GB, free: 6.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.074e-05/0.9462, allocations: 181 kB / 1.323 GB, free: 6.336 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003739/0.9466, allocations: 481.4 kB / 1.323 GB, free: 5.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.616e-05/0.9467, allocations: 103.3 kB / 1.323 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.951e-05/0.9467, allocations: 102.9 kB / 1.323 GB, free: 5.652 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.9468, allocations: 181.9 kB / 1.323 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/0.9469, allocations: 185.9 kB / 1.324 GB, free: 5.281 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.959e-05/0.947, allocations: 182.6 kB / 1.324 GB, free: 5.098 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.635e-05/0.9471, allocations: 181 kB / 1.324 GB, free: 4.914 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.9473, allocations: 332 kB / 1.324 GB, free: 4.582 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.9475, allocations: 201 kB / 1.325 GB, free: 4.371 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.9476, allocations: 190.7 kB / 1.325 GB, free: 4.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.9477, allocations: 102.9 kB / 1.325 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.9478, allocations: 186.3 kB / 1.325 GB, free: 3.887 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.616e-05/0.9478, allocations: 101.6 kB / 1.325 GB, free: 3.781 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002506/0.9481, allocations: 236.2 kB / 1.325 GB, free: 3.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9481, allocations: 3.938 kB / 1.325 GB, free: 3.656 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002931/0.9484, allocations: 28.91 kB / 1.325 GB, free: 3.652 MB / 1.014 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.0004707/0.9489, allocations: 0.8374 MB / 1.326 GB, free: 2.824 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 8.606e-05/0.949, allocations: 27.89 kB / 1.326 GB, free: 2.812 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.949, allocations: 0 / 1.326 GB, free: 2.812 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.864e-06/0.949, allocations: 5.25 kB / 1.326 GB, free: 2.809 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007111/0.9497, allocations: 0.5219 MB / 1.327 GB, free: 2.332 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/0.9524, allocations: 2.509 MB / 1.329 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.9528, allocations: 0.7451 MB / 1.33 GB, free: 15.81 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.956e-05/0.9529, allocations: 32.34 kB / 1.33 GB, free: 15.8 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.953, allocations: 63.78 kB / 1.33 GB, free: 15.76 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.953, allocations: 3.938 kB / 1.33 GB, free: 15.75 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.9782, allocations: 4.807 MB / 1.335 GB, free: 15.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/9.039, allocations: 5.328 kB / 1.335 GB, free: 15.16 MB / 1.029 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches