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.361/2.361, allocations: 390.5 MB / 398 MB, free: 10.98 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.001494/0.001494, allocations: 184 kB / 491.2 MB, free: 1.594 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.775/1.775, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001155/0.001155, allocations: 106.7 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.24e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3686, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.522/6.891, allocations: 2.162 GB / 3.375 GB, free: 141.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/6.891, allocations: 89.02 kB / 3.375 GB, free: 141.4 MB / 1.151 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.299/8.19, allocations: 221.5 MB / 3.591 GB, free: 369.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/8.19, allocations: 0 / 3.591 GB, free: 369.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 2.495e-05/8.19, allocations: 6.906 kB / 3.591 GB, free: 369.4 MB / 1.151 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.0006122/8.191, allocations: 468.9 kB / 3.591 GB, free: 368.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/8.191, allocations: 7.719 kB / 3.591 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002828/8.191, allocations: 44.84 kB / 3.591 GB, free: 368.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/8.191, allocations: 248.9 kB / 3.592 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001295/8.191, allocations: 128.3 kB / 3.592 GB, free: 368.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/8.191, allocations: 14.36 kB / 3.592 GB, free: 368.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002831/8.192, allocations: 125.9 kB / 3.592 GB, free: 368.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/8.192, allocations: 259.3 kB / 3.592 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/8.192, allocations: 3.938 kB / 3.592 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/8.192, allocations: 0 / 3.592 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/8.192, allocations: 11.36 kB / 3.592 GB, free: 368.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/8.193, allocations: 1.526 MB / 3.594 GB, free: 366.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.292e-05/8.193, allocations: 173 kB / 3.594 GB, free: 366.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/8.193, allocations: 84.14 kB / 3.594 GB, free: 366.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/8.193, allocations: 75.28 kB / 3.594 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/8.194, allocations: 112.8 kB / 3.594 GB, free: 366.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.173e-06/8.194, allocations: 0 / 3.594 GB, free: 366.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 9.405e-05/8.194, allocations: 36.98 kB / 3.594 GB, free: 366.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/8.194, allocations: 51.41 kB / 3.594 GB, free: 366.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/8.194, allocations: 197 kB / 3.594 GB, free: 366.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/8.194, allocations: 29.64 kB / 3.594 GB, free: 366.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 9.225e-05/8.194, allocations: 203.8 kB / 3.595 GB, free: 365.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-06/8.194, allocations: 2.875 kB / 3.595 GB, free: 365.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.908e-06/8.194, allocations: 0 / 3.595 GB, free: 365.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.352e-05/8.194, allocations: 330 kB / 3.595 GB, free: 365.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/8.194, allocations: 30.95 kB / 3.595 GB, free: 365.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.71e-05/8.194, allocations: 153.5 kB / 3.595 GB, free: 365.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/8.194, allocations: 62.77 kB / 3.595 GB, free: 365.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/8.194, allocations: 3.781 kB / 3.595 GB, free: 365.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003495/8.195, allocations: 186.8 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/8.195, allocations: 13 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/8.195, allocations: 7.688 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/8.195, allocations: 3.781 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/8.195, allocations: 38.39 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/8.195, allocations: 11.48 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/8.195, allocations: 17.28 kB / 3.595 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.385e-05/8.195, allocations: 11.45 kB / 3.595 GB, free: 365.3 MB / 1.151 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 9.195e-05/8.195, allocations: 199.5 kB / 3.596 GB, free: 365.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.529e-05/8.195, allocations: 114.7 kB / 3.596 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/8.195, allocations: 126.6 kB / 3.596 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.615e-05/8.195, allocations: 180.3 kB / 3.596 GB, free: 364.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.553e-05/8.196, allocations: 177.4 kB / 3.596 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.726e-05/8.196, allocations: 185.1 kB / 3.596 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002799/8.196, allocations: 443.8 kB / 3.597 GB, free: 363.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.398e-05/8.196, allocations: 107.9 kB / 3.597 GB, free: 363.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/8.196, allocations: 104.9 kB / 3.597 GB, free: 363.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.072e-05/8.196, allocations: 179.8 kB / 3.597 GB, free: 363.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.006e-05/8.196, allocations: 184.3 kB / 3.597 GB, free: 363.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.153e-05/8.196, allocations: 180.2 kB / 3.597 GB, free: 363.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.313e-05/8.196, allocations: 184.2 kB / 3.598 GB, free: 362.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/8.196, allocations: 310.3 kB / 3.598 GB, free: 362.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/8.196, allocations: 204.4 kB / 3.598 GB, free: 362.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/8.196, allocations: 176.3 kB / 3.598 GB, free: 362.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.611e-05/8.196, allocations: 106.3 kB / 3.598 GB, free: 362.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/8.196, allocations: 183 kB / 3.599 GB, free: 361.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.282e-05/8.197, allocations: 105 kB / 3.599 GB, free: 361.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001307/8.197, allocations: 158.2 kB / 3.599 GB, free: 361.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/8.197, allocations: 0 / 3.599 GB, free: 361.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005562/8.197, allocations: 104.4 kB / 3.599 GB, free: 361.6 MB / 1.151 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.001475/8.199, allocations: 1.146 MB / 3.6 GB, free: 361.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001644/8.199, allocations: 67.31 kB / 3.6 GB, free: 361.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/8.199, allocations: 0 / 3.6 GB, free: 361.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/8.199, allocations: 3.906 kB / 3.6 GB, free: 361.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/8.199, allocations: 0.5315 MB / 3.601 GB, free: 360.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003865/8.2, allocations: 263.5 kB / 3.601 GB, free: 360.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002387/8.2, allocations: 0.7453 MB / 3.602 GB, free: 359.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000137/8.2, allocations: 27.2 kB / 3.602 GB, free: 359.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/8.2, allocations: 18.53 kB / 3.602 GB, free: 359.6 MB / 1.151 GB Notification: Performance of SimCode: time 4.11e-07/8.2, allocations: 0 / 3.602 GB, free: 359.6 MB / 1.151 GB Notification: Performance of Templates: time 0.01057/8.211, allocations: 6.768 MB / 3.608 GB, free: 356.1 MB / 1.151 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