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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005251/0.005255, allocations: 98.64 kB / 15.73 MB, free: 6.008 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.001315/0.001315, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.483/2.483, allocations: 437 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 63.91 kB / 1.018 GB, free: 9.82 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6506/0.6519, allocations: 151.6 MB / 1.166 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1733/0.8252, allocations: 174.1 MB / 1.336 GB, free: 5.012 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.009462/0.8347, allocations: 9.509 MB / 1.345 GB, free: 11.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.835, allocations: 11.94 kB / 1.345 GB, free: 11.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005535/0.8356, allocations: 194.6 kB / 1.346 GB, free: 11.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.8359, allocations: 91.36 kB / 1.346 GB, free: 11.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.8361, allocations: 71.86 kB / 1.346 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.8365, allocations: 326.7 kB / 1.346 GB, free: 10.79 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.8368, allocations: 204.9 kB / 1.346 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.8372, allocations: 167.4 kB / 1.346 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.8373, allocations: 115.4 kB / 1.347 GB, free: 10.31 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.123e-05/0.8374, allocations: 24 kB / 1.347 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 3.7e-05/0.8374, allocations: 20 kB / 1.347 GB, free: 10.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 8.357e-05/0.8375, allocations: 79.73 kB / 1.347 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.8376, allocations: 135.3 kB / 1.347 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.8379, allocations: 295.6 kB / 1.347 GB, free: 9.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.8379, allocations: 0 / 1.347 GB, free: 9.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.172e-06/0.838, allocations: 0 / 1.347 GB, free: 9.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.838, allocations: 0 / 1.347 GB, free: 9.77 MB / 1.076 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.0004887/0.8385, allocations: 0.5143 MB / 1.348 GB, free: 9.207 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.8385, allocations: 12.62 kB / 1.348 GB, free: 9.195 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.355e-05/0.8386, allocations: 66.52 kB / 1.348 GB, free: 9.121 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.8386, allocations: 35.75 kB / 1.348 GB, free: 9.086 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003932/0.839, allocations: 282.4 kB / 1.348 GB, free: 8.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.8391, allocations: 24.5 kB / 1.348 GB, free: 8.746 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.001e-05/0.8391, allocations: 24 kB / 1.348 GB, free: 8.723 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004416/0.8395, allocations: 320 kB / 1.348 GB, free: 8.367 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8396, allocations: 0 / 1.348 GB, free: 8.367 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.8396, allocations: 12 kB / 1.348 GB, free: 8.355 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.8396, allocations: 15.94 kB / 1.348 GB, free: 8.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.8398, allocations: 147.7 kB / 1.349 GB, free: 8.195 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.8411, allocations: 1.809 MB / 1.35 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.839e-05/0.8411, allocations: 173.1 kB / 1.35 GB, free: 6.109 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.8412, allocations: 88.08 kB / 1.351 GB, free: 6.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.8412, allocations: 75.28 kB / 1.351 GB, free: 5.945 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.8413, allocations: 109.8 kB / 1.351 GB, free: 5.828 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.8413, allocations: 0 / 1.351 GB, free: 5.828 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.264e-05/0.8414, allocations: 65.45 kB / 1.351 GB, free: 5.758 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.8414, allocations: 126.7 kB / 1.351 GB, free: 5.621 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003628/0.8418, allocations: 369.7 kB / 1.351 GB, free: 5.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.8418, allocations: 29.64 kB / 1.351 GB, free: 5.215 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.8419, allocations: 171.9 kB / 1.351 GB, free: 5.043 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.8419, allocations: 0 / 1.351 GB, free: 5.043 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.842, allocations: 17.7 kB / 1.351 GB, free: 5.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.8421, allocations: 342.8 kB / 1.352 GB, free: 4.676 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.472e-05/0.8421, allocations: 4 kB / 1.352 GB, free: 4.672 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.877e-05/0.8421, allocations: 36.3 kB / 1.352 GB, free: 4.621 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.276e-05/0.8422, allocations: 52.22 kB / 1.352 GB, free: 4.555 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8422, allocations: 0 / 1.352 GB, free: 4.555 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001425/0.8424, allocations: 93.31 kB / 1.352 GB, free: 4.457 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.8424, allocations: 6.5 kB / 1.352 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8424, allocations: 0 / 1.352 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.8424, allocations: 4 kB / 1.352 GB, free: 4.449 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.8425, allocations: 11.94 kB / 1.352 GB, free: 4.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.8425, allocations: 4.156 kB / 1.352 GB, free: 4.434 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.8426, allocations: 27.73 kB / 1.352 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.8426, allocations: 4 kB / 1.352 GB, free: 4.402 MB / 1.076 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.0001229/0.8427, allocations: 213.1 kB / 1.352 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.8428, allocations: 132.7 kB / 1.352 GB, free: 4.047 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.81e-05/0.8428, allocations: 138.7 kB / 1.352 GB, free: 3.902 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.414e-05/0.8429, allocations: 176.3 kB / 1.353 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.201e-05/0.843, allocations: 184.2 kB / 1.353 GB, free: 3.535 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-05/0.843, allocations: 184.3 kB / 1.353 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.8433, allocations: 489 kB / 1.353 GB, free: 2.812 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/0.8434, allocations: 105 kB / 1.354 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.8434, allocations: 112.9 kB / 1.354 GB, free: 2.586 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-05/0.8435, allocations: 184.2 kB / 1.354 GB, free: 2.398 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.8435, allocations: 176.3 kB / 1.354 GB, free: 2.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-05/0.8436, allocations: 180.3 kB / 1.354 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-05/0.8437, allocations: 188.2 kB / 1.354 GB, free: 1.844 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.8438, allocations: 331.5 kB / 1.355 GB, free: 1.496 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.8439, allocations: 213.9 kB / 1.355 GB, free: 1.262 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.212e-05/0.844, allocations: 176.5 kB / 1.355 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.8441, allocations: 112.9 kB / 1.355 GB, free: 0.9648 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.8442, allocations: 180.3 kB / 1.355 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.8443, allocations: 112.9 kB / 1.355 GB, free: 0.6641 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002783/0.8445, allocations: 271.2 kB / 1.356 GB, free: 412 kB / 1.076 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8446, allocations: 0 / 1.356 GB, free: 412 kB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002745/0.8448, allocations: 35.94 kB / 1.356 GB, free: 376 kB / 1.076 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.0004089/0.8452, allocations: 0.8281 MB / 1.357 GB, free: 15.51 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 7.157e-05/0.8453, allocations: 27.81 kB / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8453, allocations: 0 / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.8453, allocations: 0 / 1.357 GB, free: 15.48 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008094/0.8462, allocations: 0.5442 MB / 1.357 GB, free: 14.94 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002658/0.8488, allocations: 2.687 MB / 1.36 GB, free: 12.15 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.8491, allocations: 0.7558 MB / 1.36 GB, free: 11.36 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.8493, allocations: 26.97 kB / 1.36 GB, free: 11.34 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.406e-05/0.8494, allocations: 79.41 kB / 1.361 GB, free: 11.26 MB / 1.092 GB Notification: Performance of SimCode: time 2.91e-07/0.8494, allocations: 4 kB / 1.361 GB, free: 11.26 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.8704, allocations: 5.915 MB / 1.366 GB, free: 5.512 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/8.469, allocations: 9.297 kB / 1.366 GB, free: 5.508 MB / 1.092 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_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_InletToAirMoistAirCO2.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches