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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.007579/0.007579, allocations: 95.36 kB / 15.73 MB, free: 6.039 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.001857/0.001857, allocations: 197.2 kB / 16.68 MB, free: 5.969 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.714/2.714, allocations: 469.4 MB / 0.7421 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001372, allocations: 59.91 kB / 1.064 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2605, allocations: 159.1 MB / 1.22 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.7108/0.9713, allocations: 170.3 MB / 1.386 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006373/0.9777, allocations: 5.995 MB / 1.392 GB, free: 11.93 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002922/0.978, allocations: 14.59 kB / 1.392 GB, free: 11.92 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.9787, allocations: 186.7 kB / 1.392 GB, free: 11.76 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.979, allocations: 94.08 kB / 1.392 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.9803, allocations: 0.5285 MB / 1.393 GB, free: 11.29 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.9808, allocations: 417.4 kB / 1.393 GB, free: 11.05 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002652/0.9811, allocations: 135.5 kB / 1.393 GB, free: 10.97 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.9815, allocations: 195.1 kB / 1.393 GB, free: 10.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002381/0.9817, allocations: 149.4 kB / 1.394 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.9818, allocations: 17.91 kB / 1.394 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007855/0.9825, allocations: 460.9 kB / 1.394 GB, free: 10.51 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.9827, allocations: 68 kB / 1.394 GB, free: 10.46 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.9828, allocations: 102.1 kB / 1.394 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.9834, allocations: 454 kB / 1.395 GB, free: 10.12 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.9835, allocations: 1.031 kB / 1.395 GB, free: 10.12 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9835, allocations: 0 / 1.395 GB, free: 10.12 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.9835, allocations: 4 kB / 1.395 GB, free: 10.12 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.0006383/0.9841, allocations: 0.5323 MB / 1.395 GB, free: 9.609 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.9842, allocations: 9.719 kB / 1.395 GB, free: 9.609 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.374e-05/0.9842, allocations: 61.97 kB / 1.395 GB, free: 9.547 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/0.9845, allocations: 42.62 kB / 1.395 GB, free: 9.531 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.9849, allocations: 266.6 kB / 1.396 GB, free: 9.266 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.985, allocations: 131.5 kB / 1.396 GB, free: 9.125 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.9851, allocations: 23.16 kB / 1.396 GB, free: 9.117 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004487/0.9855, allocations: 297.8 kB / 1.396 GB, free: 8.879 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9856, allocations: 1.625 kB / 1.396 GB, free: 8.879 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.9856, allocations: 11.38 kB / 1.396 GB, free: 8.871 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.9856, allocations: 6.375 kB / 1.396 GB, free: 8.871 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.9859, allocations: 158.1 kB / 1.396 GB, free: 8.797 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.9872, allocations: 1.586 MB / 1.398 GB, free: 7.27 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 6.866e-05/0.9873, allocations: 170.2 kB / 1.398 GB, free: 7.094 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.873e-05/0.9873, allocations: 80.14 kB / 1.398 GB, free: 7.012 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.9874, allocations: 84.38 kB / 1.398 GB, free: 6.93 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.9874, allocations: 106.5 kB / 1.398 GB, free: 6.816 MB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.9874, allocations: 1.031 kB / 1.398 GB, free: 6.816 MB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 9.156e-05/0.9875, allocations: 45.45 kB / 1.398 GB, free: 6.773 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.9876, allocations: 135.7 kB / 1.398 GB, free: 6.629 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.988, allocations: 311.2 kB / 1.399 GB, free: 6.422 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.988, allocations: 25.7 kB / 1.399 GB, free: 6.391 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.9881, allocations: 198.9 kB / 1.399 GB, free: 6.207 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.9881, allocations: 2.281 kB / 1.399 GB, free: 6.207 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.9882, allocations: 48.81 kB / 1.399 GB, free: 6.168 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.9883, allocations: 331.1 kB / 1.399 GB, free: 5.84 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.9884, allocations: 39.78 kB / 1.399 GB, free: 5.82 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.9886, allocations: 158.2 kB / 1.399 GB, free: 5.633 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.9888, allocations: 205.2 kB / 1.4 GB, free: 5.41 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.9888, allocations: 2.938 kB / 1.4 GB, free: 5.41 MB / 1.092 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004156/0.9893, allocations: 213.1 kB / 1.4 GB, free: 5.289 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9893, allocations: 10.75 kB / 1.4 GB, free: 5.285 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.9893, allocations: 4.688 kB / 1.4 GB, free: 5.285 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.9893, allocations: 5.562 kB / 1.4 GB, free: 5.285 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.9895, allocations: 40.92 kB / 1.4 GB, free: 5.273 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.9895, allocations: 10.59 kB / 1.4 GB, free: 5.27 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.9897, allocations: 34.62 kB / 1.4 GB, free: 5.246 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.9897, allocations: 10.03 kB / 1.4 GB, free: 5.246 MB / 1.092 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.000143/0.9899, allocations: 224.7 kB / 1.4 GB, free: 5.031 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.961e-05/0.99, allocations: 129.6 kB / 1.4 GB, free: 4.906 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.661e-05/0.99, allocations: 125.3 kB / 1.4 GB, free: 4.785 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.074e-05/0.9901, allocations: 177.3 kB / 1.4 GB, free: 4.605 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.837e-05/0.9902, allocations: 181.5 kB / 1.401 GB, free: 4.422 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.582e-05/0.9902, allocations: 181.2 kB / 1.401 GB, free: 4.238 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003021/0.9905, allocations: 480.8 kB / 1.401 GB, free: 3.742 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.204e-05/0.9906, allocations: 106.8 kB / 1.401 GB, free: 3.633 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.9906, allocations: 101.1 kB / 1.401 GB, free: 3.527 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.103e-05/0.9907, allocations: 193.2 kB / 1.402 GB, free: 3.332 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.317e-05/0.9907, allocations: 178.3 kB / 1.402 GB, free: 3.152 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.367e-05/0.9908, allocations: 181.5 kB / 1.402 GB, free: 2.969 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-05/0.9909, allocations: 185.3 kB / 1.402 GB, free: 2.781 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.991, allocations: 318.9 kB / 1.402 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.9911, allocations: 205.9 kB / 1.403 GB, free: 2.238 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/0.9912, allocations: 196.8 kB / 1.403 GB, free: 2.043 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.9913, allocations: 106 kB / 1.403 GB, free: 1.934 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.9914, allocations: 177.5 kB / 1.403 GB, free: 1.754 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.9915, allocations: 110 kB / 1.403 GB, free: 1.641 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002363/0.9917, allocations: 221.2 kB / 1.403 GB, free: 1.492 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9917, allocations: 0 / 1.403 GB, free: 1.492 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000374/0.9921, allocations: 50.25 kB / 1.404 GB, free: 1.484 MB / 1.092 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.0005055/0.9926, allocations: 0.8629 MB / 1.404 GB, free: 0.6406 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0001919/0.9928, allocations: 83.55 kB / 1.404 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9928, allocations: 2.469 kB / 1.404 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.9928, allocations: 0 / 1.404 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.9933, allocations: 492.6 kB / 1.405 GB, free: 136 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.9959, allocations: 2.512 MB / 1.407 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.9961, allocations: 0.7357 MB / 1.408 GB, free: 13.26 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001226/0.9963, allocations: 35.05 kB / 1.408 GB, free: 13.24 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.45e-05/0.9964, allocations: 53.14 kB / 1.408 GB, free: 13.2 MB / 1.107 GB Notification: Performance of SimCode: time 4.31e-07/0.9964, allocations: 0 / 1.408 GB, free: 13.2 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/1.016, allocations: 4.072 MB / 1.412 GB, free: 11.13 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/8.443, allocations: 7.344 kB / 1.412 GB, free: 11.13 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