Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.AirToOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.001655/0.001655, allocations: 108 kB / 15.61 MB, free: 152 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.001848/0.001848, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.542/2.542, allocations: 437 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 55.91 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5159/0.5172, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1595/0.6767, allocations: 170.3 MB / 1.184 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005825/0.6826, allocations: 5.995 MB / 1.19 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.6828, allocations: 4 kB / 1.19 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.6833, allocations: 186.7 kB / 1.19 GB, free: 1.316 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002568/0.6836, allocations: 91.38 kB / 1.19 GB, free: 1.227 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.6846, allocations: 0.5216 MB / 1.19 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000388/0.685, allocations: 418.7 kB / 1.191 GB, free: 300 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.6852, allocations: 140.5 kB / 1.191 GB, free: 156 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002708/0.6855, allocations: 183.3 kB / 1.191 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.6857, allocations: 155.4 kB / 1.191 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.034e-05/0.6857, allocations: 16 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006768/0.6864, allocations: 458.8 kB / 1.192 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.757e-05/0.6865, allocations: 67.81 kB / 1.192 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.6866, allocations: 107.5 kB / 1.192 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.6872, allocations: 442.7 kB / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.6872, allocations: 0 / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.213e-06/0.6872, allocations: 0 / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.6872, allocations: 0 / 1.192 GB, free: 14.75 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005944/0.6878, allocations: 0.5163 MB / 1.193 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.6878, allocations: 12.03 kB / 1.193 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.858e-05/0.6879, allocations: 66.55 kB / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000288/0.6882, allocations: 39.7 kB / 1.193 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.6885, allocations: 246.6 kB / 1.193 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.6886, allocations: 135.4 kB / 1.193 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.765e-05/0.6886, allocations: 20 kB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000427/0.6891, allocations: 306.7 kB / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6891, allocations: 0 / 1.194 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.6891, allocations: 8 kB / 1.194 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6891, allocations: 4 kB / 1.194 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003083/0.6894, allocations: 164.6 kB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.6908, allocations: 1.579 MB / 1.195 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.133e-05/0.6909, allocations: 177.1 kB / 1.195 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/0.6909, allocations: 84.14 kB / 1.196 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.6909, allocations: 75.28 kB / 1.196 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.691, allocations: 109.8 kB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.691, allocations: 0 / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.174e-05/0.6911, allocations: 53.34 kB / 1.196 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.6912, allocations: 134.6 kB / 1.196 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.6916, allocations: 314.5 kB / 1.196 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.6916, allocations: 25.7 kB / 1.196 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.6917, allocations: 191.2 kB / 1.196 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.528e-06/0.6917, allocations: 3.984 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/0.6918, allocations: 45.58 kB / 1.196 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.6919, allocations: 330.8 kB / 1.197 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-05/0.692, allocations: 43.91 kB / 1.197 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.6921, allocations: 153.2 kB / 1.197 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.6924, allocations: 200.8 kB / 1.197 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.6924, allocations: 4 kB / 1.197 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003911/0.6928, allocations: 213.1 kB / 1.197 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6928, allocations: 7.938 kB / 1.197 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.6928, allocations: 4 kB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6928, allocations: 8 kB / 1.197 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.693, allocations: 35.92 kB / 1.197 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.693, allocations: 16.52 kB / 1.197 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.6932, allocations: 35.59 kB / 1.197 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.6932, allocations: 12 kB / 1.197 GB, free: 8.984 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001331/0.6934, allocations: 217 kB / 1.198 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.438e-05/0.6934, allocations: 128.7 kB / 1.198 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.6935, allocations: 121.8 kB / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.376e-05/0.6936, allocations: 184.3 kB / 1.198 GB, free: 8.312 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-05/0.6937, allocations: 184.2 kB / 1.198 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.165e-05/0.6937, allocations: 176.3 kB / 1.198 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.694, allocations: 485.1 kB / 1.199 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.42e-05/0.6941, allocations: 104.9 kB / 1.199 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.113e-05/0.6941, allocations: 109 kB / 1.199 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-05/0.6942, allocations: 188.1 kB / 1.199 GB, free: 7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.486e-05/0.6943, allocations: 176.3 kB / 1.199 GB, free: 6.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.279e-05/0.6943, allocations: 176.3 kB / 1.2 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.28e-05/0.6944, allocations: 184.2 kB / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.6945, allocations: 323.6 kB / 1.2 GB, free: 6.113 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.6947, allocations: 209.7 kB / 1.2 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.814e-05/0.6948, allocations: 180.3 kB / 1.2 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6949, allocations: 109.2 kB / 1.201 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.695, allocations: 180.2 kB / 1.201 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.695, allocations: 117 kB / 1.201 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002346/0.6952, allocations: 213.9 kB / 1.201 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6953, allocations: 4 kB / 1.201 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003486/0.6956, allocations: 51.94 kB / 1.201 GB, free: 5.02 MB / 0.9512 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.0005365/0.6962, allocations: 0.8669 MB / 1.202 GB, free: 4.125 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001931/0.6964, allocations: 76.97 kB / 1.202 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.6964, allocations: 4.062 kB / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.875e-06/0.6964, allocations: 0 / 1.202 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.6969, allocations: 488.1 kB / 1.202 GB, free: 3.562 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.6994, allocations: 2.515 MB / 1.205 GB, free: 0.8594 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.6997, allocations: 0.7398 MB / 1.206 GB, free: 96 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001459/0.6999, allocations: 37.94 kB / 1.206 GB, free: 56 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.893e-05/0.6999, allocations: 51.42 kB / 1.206 GB, free: 8 kB / 0.9512 GB Notification: Performance of SimCode: time 2.7e-07/0.6999, allocations: 0 / 1.206 GB, free: 8 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/0.7189, allocations: 3.985 MB / 1.21 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.152/7.871, allocations: 15.67 kB / 1.21 GB, free: 12.09 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_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_AirToOutlet.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches