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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.441/2.441, allocations: 390.3 MB / 402.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 184.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7915 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 91.95 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.747e-05/3.747e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3298, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.405/6.735, allocations: 2.163 GB / 3.382 GB, free: 125.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/6.736, allocations: 76.45 kB / 3.382 GB, free: 125 MB / 1.167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirNoC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$bacPro_internal is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/MassFractionConnector.mo:2:1-41:11:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.MassFractionConnector is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conAirWithC$outlet$forward is not balanced: The number of potential variables (3) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$bacPro_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirNoC$outlet$forward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FMI/Interfaces/FluidProperties.mo:2:1-72:20:writable] Warning: Connector .Buildings.Fluid.FMI.Interfaces.FluidProperties$conDryAirWithC$outlet$forward is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 1.32/8.055, allocations: 223.7 MB / 3.6 GB, free: 370.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.034e-06/8.055, allocations: 3.906 kB / 3.6 GB, free: 370.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.754e-05/8.056, allocations: 6.984 kB / 3.6 GB, free: 370.9 MB / 1.167 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.0007969/8.056, allocations: 460.2 kB / 3.601 GB, free: 370.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.15e-05/8.056, allocations: 10 kB / 3.601 GB, free: 370.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/8.057, allocations: 51.22 kB / 3.601 GB, free: 370.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/8.057, allocations: 254 kB / 3.601 GB, free: 370.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/8.057, allocations: 134.9 kB / 3.601 GB, free: 370.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/8.057, allocations: 23.5 kB / 3.601 GB, free: 370.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005198/8.058, allocations: 281.4 kB / 3.601 GB, free: 369.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/8.058, allocations: 3.938 kB / 3.601 GB, free: 369.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/8.058, allocations: 4 kB / 3.601 GB, free: 369.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/8.058, allocations: 15.59 kB / 3.601 GB, free: 369.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/8.058, allocations: 158.4 kB / 3.602 GB, free: 369.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/8.06, allocations: 1.595 MB / 3.603 GB, free: 368.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.338e-05/8.06, allocations: 173.1 kB / 3.603 GB, free: 368.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.972e-05/8.06, allocations: 80.14 kB / 3.603 GB, free: 368 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/8.06, allocations: 75.28 kB / 3.603 GB, free: 367.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/8.06, allocations: 109.8 kB / 3.603 GB, free: 367.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.542e-06/8.06, allocations: 0 / 3.603 GB, free: 367.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 9.827e-05/8.06, allocations: 45.23 kB / 3.604 GB, free: 367.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/8.06, allocations: 134.6 kB / 3.604 GB, free: 367.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/8.06, allocations: 282.2 kB / 3.604 GB, free: 367.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/8.06, allocations: 25.7 kB / 3.604 GB, free: 367.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.956e-05/8.06, allocations: 192.3 kB / 3.604 GB, free: 367.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/8.06, allocations: 3.25 kB / 3.604 GB, free: 367.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.227e-06/8.06, allocations: 4 kB / 3.604 GB, free: 367.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.017e-05/8.061, allocations: 330.8 kB / 3.604 GB, free: 366.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/8.061, allocations: 42.53 kB / 3.604 GB, free: 366.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/8.061, allocations: 155.9 kB / 3.605 GB, free: 366.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.361e-05/8.061, allocations: 58.06 kB / 3.605 GB, free: 366.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/8.061, allocations: 0 / 3.605 GB, free: 366.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003591/8.061, allocations: 222.7 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/8.061, allocations: 8.531 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/8.061, allocations: 7.625 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/8.061, allocations: 6.125 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/8.061, allocations: 38.95 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/8.061, allocations: 7.312 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/8.062, allocations: 39.3 kB / 3.605 GB, free: 366.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/8.062, allocations: 11.06 kB / 3.605 GB, free: 366.5 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/8.062, allocations: 192.1 kB / 3.605 GB, free: 366.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/8.062, allocations: 116 kB / 3.605 GB, free: 366.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.665e-05/8.062, allocations: 129.1 kB / 3.605 GB, free: 366.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.767e-05/8.062, allocations: 184.2 kB / 3.606 GB, free: 365.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-05/8.062, allocations: 184 kB / 3.606 GB, free: 365.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.177e-05/8.062, allocations: 188.1 kB / 3.606 GB, free: 365.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/8.062, allocations: 482.2 kB / 3.606 GB, free: 365 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.108e-05/8.062, allocations: 105 kB / 3.607 GB, free: 364.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/8.062, allocations: 108.9 kB / 3.607 GB, free: 364.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-05/8.062, allocations: 176.3 kB / 3.607 GB, free: 364.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/8.062, allocations: 192 kB / 3.607 GB, free: 364.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.552e-05/8.062, allocations: 176.3 kB / 3.607 GB, free: 364.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.151e-05/8.062, allocations: 176.3 kB / 3.607 GB, free: 364.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/8.063, allocations: 335 kB / 3.608 GB, free: 363.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/8.063, allocations: 205.5 kB / 3.608 GB, free: 363.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.062e-05/8.063, allocations: 177.7 kB / 3.608 GB, free: 363.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/8.063, allocations: 104.9 kB / 3.608 GB, free: 363.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/8.063, allocations: 184.2 kB / 3.608 GB, free: 363 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/8.063, allocations: 105 kB / 3.608 GB, free: 362.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001776/8.063, allocations: 217 kB / 3.609 GB, free: 362.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/8.063, allocations: 0 / 3.609 GB, free: 362.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006517/8.064, allocations: 125.8 kB / 3.609 GB, free: 362.7 MB / 1.167 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/8.065, allocations: 1.013 MB / 3.61 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001874/8.065, allocations: 91.22 kB / 3.61 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/8.065, allocations: 0 / 3.61 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/8.065, allocations: 0 / 3.61 GB, free: 362.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/8.066, allocations: 0.5418 MB / 3.61 GB, free: 361.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/8.066, allocations: 277.7 kB / 3.611 GB, free: 361.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/8.066, allocations: 0.7425 MB / 3.611 GB, free: 360.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001547/8.066, allocations: 36.42 kB / 3.611 GB, free: 360.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/8.067, allocations: 17.91 kB / 3.611 GB, free: 360.6 MB / 1.167 GB Notification: Performance of SimCode: time 3.21e-07/8.067, allocations: 0 / 3.611 GB, free: 360.6 MB / 1.167 GB Notification: Performance of Templates: time 0.01947/8.086, allocations: 16.26 MB / 3.627 GB, free: 345.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (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 & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches