Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_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.005421/0.005421, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00135/0.00135, allocations: 196.9 kB / 16.67 MB, free: 5.973 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.701/2.701, allocations: 472.7 MB / 0.7453 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.83 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2642, allocations: 159.9 MB / 1.225 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.6895/0.9537, allocations: 170.3 MB / 1.392 GB, free: 10.17 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00596/0.9597, allocations: 5.999 MB / 1.397 GB, free: 5.309 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.96, allocations: 11 kB / 1.397 GB, free: 5.305 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00055/0.9605, allocations: 190.3 kB / 1.398 GB, free: 5.141 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002811/0.9609, allocations: 98.44 kB / 1.398 GB, free: 5.059 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.962, allocations: 0.5285 MB / 1.398 GB, free: 4.66 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.9624, allocations: 419.5 kB / 1.399 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002449/0.9627, allocations: 131.8 kB / 1.399 GB, free: 4.352 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.963, allocations: 194.4 kB / 1.399 GB, free: 4.238 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001982/0.9632, allocations: 154 kB / 1.399 GB, free: 4.145 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.9632, allocations: 16.94 kB / 1.399 GB, free: 4.145 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007129/0.9639, allocations: 457.6 kB / 1.4 GB, free: 3.895 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 8.558e-05/0.964, allocations: 68.75 kB / 1.4 GB, free: 3.848 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.9641, allocations: 108.7 kB / 1.4 GB, free: 3.773 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005902/0.9647, allocations: 455 kB / 1.4 GB, free: 3.496 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.9647, allocations: 1 kB / 1.4 GB, free: 3.496 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9648, allocations: 0 / 1.4 GB, free: 3.496 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.9648, allocations: 0 / 1.4 GB, free: 3.496 MB / 1.092 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.000551/0.9653, allocations: 0.5316 MB / 1.401 GB, free: 2.988 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.9654, allocations: 10.09 kB / 1.401 GB, free: 2.988 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.9654, allocations: 58.48 kB / 1.401 GB, free: 2.93 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.9657, allocations: 46.47 kB / 1.401 GB, free: 2.91 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003548/0.966, allocations: 263.1 kB / 1.401 GB, free: 2.648 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.9662, allocations: 128.7 kB / 1.401 GB, free: 2.512 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.9662, allocations: 22.34 kB / 1.401 GB, free: 2.504 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.9666, allocations: 298.1 kB / 1.401 GB, free: 2.266 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9667, allocations: 1.469 kB / 1.401 GB, free: 2.266 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.9667, allocations: 10.25 kB / 1.401 GB, free: 2.258 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.9667, allocations: 6.594 kB / 1.401 GB, free: 2.258 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.967, allocations: 158.8 kB / 1.402 GB, free: 2.184 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.9683, allocations: 1.585 MB / 1.403 GB, free: 0.6562 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.991e-05/0.9683, allocations: 170.1 kB / 1.403 GB, free: 492 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.9684, allocations: 84.14 kB / 1.403 GB, free: 404 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.9684, allocations: 80.45 kB / 1.403 GB, free: 324 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.9684, allocations: 110.7 kB / 1.404 GB, free: 204 kB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.9685, allocations: 1.062 kB / 1.404 GB, free: 204 kB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 8.81e-05/0.9685, allocations: 49.55 kB / 1.404 GB, free: 156 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/0.9686, allocations: 127.9 kB / 1.404 GB, free: 16 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.969, allocations: 319.3 kB / 1.404 GB, free: 15.8 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.969, allocations: 25.7 kB / 1.404 GB, free: 15.77 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.9691, allocations: 190.1 kB / 1.404 GB, free: 15.59 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.9691, allocations: 6.641 kB / 1.404 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-05/0.9692, allocations: 51.5 kB / 1.404 GB, free: 15.55 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.9693, allocations: 328 kB / 1.405 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.25e-05/0.9694, allocations: 39.75 kB / 1.405 GB, free: 15.2 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.9696, allocations: 168.4 kB / 1.405 GB, free: 15.01 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.9698, allocations: 198 kB / 1.405 GB, free: 14.79 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9698, allocations: 5.156 kB / 1.405 GB, free: 14.79 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004179/0.9702, allocations: 208.7 kB / 1.405 GB, free: 14.67 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.9703, allocations: 14.94 kB / 1.405 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.9703, allocations: 5.156 kB / 1.405 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.9703, allocations: 6.75 kB / 1.405 GB, free: 14.66 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.9705, allocations: 41.25 kB / 1.405 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.9705, allocations: 5.438 kB / 1.405 GB, free: 14.65 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001642/0.9706, allocations: 34.77 kB / 1.405 GB, free: 14.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.9707, allocations: 10 kB / 1.405 GB, free: 14.63 MB / 1.107 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.0001255/0.9708, allocations: 219.5 kB / 1.406 GB, free: 14.42 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.515e-05/0.9709, allocations: 138 kB / 1.406 GB, free: 14.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.864e-05/0.971, allocations: 121 kB / 1.406 GB, free: 14.16 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/0.971, allocations: 177.5 kB / 1.406 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-05/0.9711, allocations: 185 kB / 1.406 GB, free: 13.8 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.827e-05/0.9711, allocations: 176.3 kB / 1.406 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.9714, allocations: 489.5 kB / 1.407 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-05/0.9714, allocations: 106.1 kB / 1.407 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.9715, allocations: 101.1 kB / 1.407 GB, free: 12.9 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.008e-05/0.9715, allocations: 189.2 kB / 1.407 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.688e-05/0.9716, allocations: 177.1 kB / 1.407 GB, free: 12.53 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-05/0.9716, allocations: 181.3 kB / 1.407 GB, free: 12.35 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.082e-05/0.9717, allocations: 185.3 kB / 1.408 GB, free: 12.16 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.9718, allocations: 320.1 kB / 1.408 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.9719, allocations: 209.3 kB / 1.408 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.823e-05/0.972, allocations: 189.3 kB / 1.408 GB, free: 11.42 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.9721, allocations: 106.1 kB / 1.408 GB, free: 11.31 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.9722, allocations: 185.5 kB / 1.409 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.9722, allocations: 104.9 kB / 1.409 GB, free: 11.02 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002294/0.9725, allocations: 217.4 kB / 1.409 GB, free: 10.87 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9725, allocations: 1.625 kB / 1.409 GB, free: 10.87 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003627/0.9728, allocations: 49.44 kB / 1.409 GB, free: 10.86 MB / 1.107 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.0005122/0.9734, allocations: 0.8711 MB / 1.41 GB, free: 10.01 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001974/0.9736, allocations: 76.03 kB / 1.41 GB, free: 9.98 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9736, allocations: 0 / 1.41 GB, free: 9.98 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/0.9736, allocations: 5.188 kB / 1.41 GB, free: 9.977 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004754/0.9741, allocations: 485.5 kB / 1.41 GB, free: 9.512 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.9764, allocations: 2.504 MB / 1.413 GB, free: 7.367 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.9767, allocations: 0.7352 MB / 1.414 GB, free: 6.641 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.9768, allocations: 39.91 kB / 1.414 GB, free: 6.621 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.431e-05/0.9769, allocations: 56.55 kB / 1.414 GB, free: 6.574 MB / 1.107 GB Notification: Performance of SimCode: time 1.723e-06/0.9769, allocations: 0 / 1.414 GB, free: 6.574 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0184/0.9953, allocations: 4.068 MB / 1.418 GB, free: 4.516 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/8.325, allocations: 15.64 kB / 1.418 GB, free: 4.508 MB / 1.107 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches