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.009325/0.009325, allocations: 99.34 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.002555/0.002556, allocations: 198.8 kB / 16.67 MB, free: 5.934 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.478/1.478, 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.77/2.77, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 63.91 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2702, allocations: 151.6 MB / 1.166 GB, free: 7.277 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.7076/0.9778, allocations: 174.1 MB / 1.336 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.9884, allocations: 9.499 MB / 1.345 GB, free: 7.805 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003042/0.9887, allocations: 10.94 kB / 1.345 GB, free: 7.801 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005418/0.9893, allocations: 188.4 kB / 1.346 GB, free: 7.672 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.9896, allocations: 98.05 kB / 1.346 GB, free: 7.605 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.9898, allocations: 63.75 kB / 1.346 GB, free: 7.57 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.9902, allocations: 331.9 kB / 1.346 GB, free: 7.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.9905, allocations: 209.5 kB / 1.346 GB, free: 7.312 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003189/0.9909, allocations: 176.7 kB / 1.346 GB, free: 7.227 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.991, allocations: 114.1 kB / 1.347 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.418e-05/0.991, allocations: 22.81 kB / 1.347 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.909e-05/0.9911, allocations: 20.44 kB / 1.347 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.9912, allocations: 77.58 kB / 1.347 GB, free: 7.129 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.9913, allocations: 127.9 kB / 1.347 GB, free: 7.047 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003042/0.9916, allocations: 299 kB / 1.347 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.9917, allocations: 0 / 1.347 GB, free: 6.922 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9917, allocations: 0 / 1.347 GB, free: 6.922 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.9917, allocations: 0 / 1.347 GB, free: 6.922 MB / 1.029 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.0005762/0.9923, allocations: 0.5265 MB / 1.348 GB, free: 6.441 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.9923, allocations: 9.062 kB / 1.348 GB, free: 6.441 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.421e-05/0.9924, allocations: 61.98 kB / 1.348 GB, free: 6.387 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.9924, allocations: 35 kB / 1.348 GB, free: 6.367 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.9928, allocations: 275.2 kB / 1.348 GB, free: 6.121 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.9928, allocations: 23.78 kB / 1.348 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.9929, allocations: 24.69 kB / 1.348 GB, free: 6.102 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.9934, allocations: 324.5 kB / 1.348 GB, free: 5.875 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9934, allocations: 0 / 1.348 GB, free: 5.875 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.9934, allocations: 11.88 kB / 1.348 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.9934, allocations: 9.938 kB / 1.348 GB, free: 5.867 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.9937, allocations: 147 kB / 1.349 GB, free: 5.809 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001419/0.9951, allocations: 1.821 MB / 1.35 GB, free: 4.168 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.979e-05/0.9952, allocations: 166.5 kB / 1.35 GB, free: 3.996 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.172e-05/0.9952, allocations: 90.03 kB / 1.351 GB, free: 3.906 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.9953, allocations: 87.22 kB / 1.351 GB, free: 3.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.9954, allocations: 108.2 kB / 1.351 GB, free: 3.707 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.9954, allocations: 0 / 1.351 GB, free: 3.707 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.256e-05/0.9955, allocations: 54.11 kB / 1.351 GB, free: 3.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.9955, allocations: 126.7 kB / 1.351 GB, free: 3.523 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004032/0.9959, allocations: 375.9 kB / 1.351 GB, free: 3.336 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.996, allocations: 25.7 kB / 1.351 GB, free: 3.305 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.9961, allocations: 170.9 kB / 1.351 GB, free: 3.156 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.9961, allocations: 0 / 1.351 GB, free: 3.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.9962, allocations: 18.31 kB / 1.351 GB, free: 3.137 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.9963, allocations: 342.7 kB / 1.352 GB, free: 2.809 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.494e-05/0.9964, allocations: 3.844 kB / 1.352 GB, free: 2.809 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.886e-05/0.9964, allocations: 35.3 kB / 1.352 GB, free: 2.766 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.722e-05/0.9965, allocations: 50.62 kB / 1.352 GB, free: 2.711 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.9965, allocations: 3.938 kB / 1.352 GB, free: 2.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.9966, allocations: 94.53 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.9967, allocations: 6.766 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.9967, allocations: 1.312 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.9967, allocations: 1.438 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.319e-05/0.9967, allocations: 8.219 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.9967, allocations: 3.766 kB / 1.352 GB, free: 2.645 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.78e-05/0.9968, allocations: 31.27 kB / 1.352 GB, free: 2.621 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-06/0.9968, allocations: 2.5 kB / 1.352 GB, free: 2.621 MB / 1.029 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.0001453/0.997, allocations: 211.3 kB / 1.352 GB, free: 2.422 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.9971, allocations: 143.6 kB / 1.352 GB, free: 2.289 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.185e-05/0.9972, allocations: 130.2 kB / 1.352 GB, free: 2.168 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.713e-05/0.9973, allocations: 185.7 kB / 1.353 GB, free: 1.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-05/0.9974, allocations: 176.3 kB / 1.353 GB, free: 1.801 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-05/0.9974, allocations: 180.3 kB / 1.353 GB, free: 1.621 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003623/0.9978, allocations: 495.3 kB / 1.353 GB, free: 1.145 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/0.9979, allocations: 104.9 kB / 1.354 GB, free: 1.035 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.281e-05/0.9979, allocations: 108.2 kB / 1.354 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.563e-05/0.998, allocations: 181.7 kB / 1.354 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.9981, allocations: 177.6 kB / 1.354 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-05/0.9982, allocations: 190.7 kB / 1.354 GB, free: 380 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.985e-05/0.9983, allocations: 183 kB / 1.354 GB, free: 192 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.9985, allocations: 324.5 kB / 1.355 GB, free: 15.86 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.9986, allocations: 219.7 kB / 1.355 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.9987, allocations: 181.5 kB / 1.355 GB, free: 15.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.9989, allocations: 106.1 kB / 1.355 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.9989, allocations: 182.5 kB / 1.355 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.999, allocations: 102 kB / 1.355 GB, free: 15.05 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002796/0.9993, allocations: 270.5 kB / 1.356 GB, free: 14.92 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9993, allocations: 0 / 1.356 GB, free: 14.92 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002656/0.9996, allocations: 32.06 kB / 1.356 GB, free: 14.91 MB / 1.045 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.0004941/1, allocations: 0.8429 MB / 1.357 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.501e-05/1, allocations: 13.03 kB / 1.357 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1, allocations: 0 / 1.357 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/1, allocations: 1.219 kB / 1.357 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/1.001, allocations: 0.5575 MB / 1.357 GB, free: 13.59 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/1.004, allocations: 2.693 MB / 1.36 GB, free: 11.74 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004296/1.004, allocations: 0.7557 MB / 1.36 GB, free: 11.04 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.005, allocations: 31.86 kB / 1.36 GB, free: 11.03 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/1.005, allocations: 73.7 kB / 1.361 GB, free: 10.98 MB / 1.045 GB Notification: Performance of SimCode: time 4.31e-07/1.005, allocations: 0 / 1.361 GB, free: 10.98 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02704/1.032, allocations: 5.906 MB / 1.366 GB, free: 10 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.146/9.177, allocations: 16.97 kB / 1.366 GB, free: 9.988 MB / 1.045 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