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.007155/0.007155, allocations: 98.55 kB / 15.73 MB, free: 6.035 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.001843/0.001843, allocations: 193.3 kB / 16.67 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.445/2.445, allocations: 437 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2423, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.645/0.8873, allocations: 148 MB / 1.311 GB, free: 12.71 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004143/0.8915, allocations: 4.648 MB / 1.315 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.8917, allocations: 14.47 kB / 1.315 GB, free: 12.3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000414/0.8921, allocations: 161.9 kB / 1.315 GB, free: 12.23 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.8925, allocations: 88.89 kB / 1.316 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.8926, allocations: 67.02 kB / 1.316 GB, free: 12.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.8929, allocations: 302.2 kB / 1.316 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.8932, allocations: 153.3 kB / 1.316 GB, free: 12.11 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.8934, allocations: 115.5 kB / 1.316 GB, free: 12.06 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002004/0.8936, allocations: 158.1 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.8936, allocations: 15.53 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.8937, allocations: 20.66 kB / 1.316 GB, free: 12 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.8938, allocations: 60.17 kB / 1.316 GB, free: 11.97 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.8939, allocations: 106.7 kB / 1.316 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002722/0.8942, allocations: 235 kB / 1.317 GB, free: 11.82 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.8942, allocations: 5.281 kB / 1.317 GB, free: 11.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8942, allocations: 0 / 1.317 GB, free: 11.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.8942, allocations: 0 / 1.317 GB, free: 11.81 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.0004669/0.8947, allocations: 495.4 kB / 1.317 GB, free: 11.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.8947, allocations: 9.375 kB / 1.317 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.609e-05/0.8948, allocations: 59.53 kB / 1.317 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.8948, allocations: 34.56 kB / 1.317 GB, free: 11.29 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.8952, allocations: 273 kB / 1.318 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.8952, allocations: 17.81 kB / 1.318 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.8952, allocations: 18.06 kB / 1.318 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.8956, allocations: 314.7 kB / 1.318 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.8957, allocations: 1.859 kB / 1.318 GB, free: 10.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.8957, allocations: 7.25 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.8957, allocations: 6.562 kB / 1.318 GB, free: 10.78 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.8959, allocations: 128.4 kB / 1.318 GB, free: 10.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.8971, allocations: 1.968 MB / 1.32 GB, free: 8.898 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.376e-05/0.8972, allocations: 170.7 kB / 1.32 GB, free: 8.723 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.605e-05/0.8972, allocations: 84.14 kB / 1.32 GB, free: 8.637 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.8973, allocations: 76.38 kB / 1.32 GB, free: 8.562 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.8973, allocations: 106.5 kB / 1.32 GB, free: 8.449 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.8973, allocations: 1.125 kB / 1.32 GB, free: 8.449 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 8.133e-05/0.8974, allocations: 57.02 kB / 1.32 GB, free: 8.398 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.8975, allocations: 132.4 kB / 1.321 GB, free: 8.258 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003372/0.8978, allocations: 329.1 kB / 1.321 GB, free: 8.086 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.8979, allocations: 25.7 kB / 1.321 GB, free: 8.055 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.898, allocations: 169.6 kB / 1.321 GB, free: 7.91 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.898, allocations: 2.422 kB / 1.321 GB, free: 7.91 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.898, allocations: 23.47 kB / 1.321 GB, free: 7.887 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8981, allocations: 332.1 kB / 1.321 GB, free: 7.566 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.8982, allocations: 6.219 kB / 1.321 GB, free: 7.566 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.272e-05/0.8982, allocations: 59.55 kB / 1.321 GB, free: 7.496 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.8983, allocations: 72.52 kB / 1.322 GB, free: 7.414 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.8983, allocations: 1.062 kB / 1.322 GB, free: 7.414 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001678/0.8985, allocations: 106.6 kB / 1.322 GB, free: 7.348 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8985, allocations: 10.41 kB / 1.322 GB, free: 7.344 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8985, allocations: 6.094 kB / 1.322 GB, free: 7.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8985, allocations: 6.609 kB / 1.322 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.613e-05/0.8986, allocations: 13.94 kB / 1.322 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.8986, allocations: 2.766 kB / 1.322 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.8987, allocations: 27.33 kB / 1.322 GB, free: 7.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.8987, allocations: 4.438 kB / 1.322 GB, free: 7.316 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.0001262/0.8988, allocations: 217.4 kB / 1.322 GB, free: 7.109 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.89e-05/0.8989, allocations: 128.6 kB / 1.322 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.957e-05/0.899, allocations: 131.7 kB / 1.322 GB, free: 6.863 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.803e-05/0.899, allocations: 185.3 kB / 1.322 GB, free: 6.676 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.622e-05/0.8991, allocations: 178.7 kB / 1.322 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.705e-05/0.8991, allocations: 186.1 kB / 1.323 GB, free: 6.309 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.8994, allocations: 473.5 kB / 1.323 GB, free: 5.844 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-05/0.8995, allocations: 111 kB / 1.323 GB, free: 5.73 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.625e-05/0.8995, allocations: 101.7 kB / 1.323 GB, free: 5.625 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.744e-05/0.8996, allocations: 178 kB / 1.323 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.8996, allocations: 189.9 kB / 1.324 GB, free: 5.254 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-05/0.8997, allocations: 178.1 kB / 1.324 GB, free: 5.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.809e-05/0.8998, allocations: 186.3 kB / 1.324 GB, free: 4.887 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.8999, allocations: 331.6 kB / 1.324 GB, free: 4.555 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.9, allocations: 204.5 kB / 1.325 GB, free: 4.34 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.9001, allocations: 187.1 kB / 1.325 GB, free: 4.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.9002, allocations: 106.1 kB / 1.325 GB, free: 4.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.9003, allocations: 182.3 kB / 1.325 GB, free: 3.859 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.9003, allocations: 103 kB / 1.325 GB, free: 3.754 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000232/0.9006, allocations: 240 kB / 1.325 GB, free: 3.629 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9006, allocations: 0 / 1.325 GB, free: 3.629 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002604/0.9008, allocations: 28.47 kB / 1.325 GB, free: 3.625 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.0003415/0.9012, allocations: 0.8325 MB / 1.326 GB, free: 2.801 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 7.347e-05/0.9013, allocations: 28.98 kB / 1.326 GB, free: 2.789 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.9013, allocations: 0 / 1.326 GB, free: 2.789 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.938e-06/0.9013, allocations: 3.938 kB / 1.326 GB, free: 2.785 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.9019, allocations: 0.5254 MB / 1.327 GB, free: 2.309 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.9042, allocations: 2.51 MB / 1.329 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.9045, allocations: 0.7466 MB / 1.33 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.976e-05/0.9046, allocations: 28.67 kB / 1.33 GB, free: 15.79 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.9047, allocations: 66.14 kB / 1.33 GB, free: 15.73 MB / 1.029 GB Notification: Performance of SimCode: time 2.3e-07/0.9047, allocations: 0 / 1.33 GB, free: 15.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.9239, allocations: 4.803 MB / 1.335 GB, free: 15.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.462/8.385, allocations: 5.297 kB / 1.335 GB, free: 15.13 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