Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.369/2.369, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001725/0.001725, allocations: 186.4 kB / 0.4902 GB, free: 2.262 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.626/1.626, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001082/0.001082, allocations: 102.1 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000544/0.0005442, allocations: 7.719 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3724, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.047/6.42, allocations: 2.168 GB / 3.397 GB, free: 285.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/6.42, allocations: 89.42 kB / 3.397 GB, free: 285.3 MB / 1.167 GB [/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$conAir$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$conAir$inlet$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$conAirRevFlo$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$conAirRevFlo$inlet$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$conAirRevFlo$inlet$backward 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/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$sou$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/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$souRev$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$souRev$outlet$backward is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of FrontEnd - DAE generated: time 0.2873/6.707, allocations: 137.6 MB / 3.531 GB, free: 146.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.124e-06/6.707, allocations: 0 / 3.531 GB, free: 146.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.838e-05/6.708, allocations: 8 kB / 3.532 GB, free: 146.2 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003704/6.708, allocations: 419.5 kB / 3.532 GB, free: 145.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/6.708, allocations: 8.562 kB / 3.532 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/6.708, allocations: 19.81 kB / 3.532 GB, free: 145.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00025/6.708, allocations: 243.2 kB / 3.532 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/6.708, allocations: 16 kB / 3.532 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/6.708, allocations: 12 kB / 3.532 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002667/6.709, allocations: 244.2 kB / 3.532 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/6.709, allocations: 0 / 3.532 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/6.709, allocations: 15.95 kB / 3.532 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/6.709, allocations: 4 kB / 3.532 GB, free: 145.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/6.709, allocations: 71.78 kB / 3.533 GB, free: 145 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007245/6.709, allocations: 1.591 MB / 3.534 GB, free: 143.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.762e-05/6.71, allocations: 169.1 kB / 3.534 GB, free: 143.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/6.71, allocations: 83.28 kB / 3.534 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/6.71, allocations: 109.8 kB / 3.534 GB, free: 142.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/6.71, allocations: 0 / 3.534 GB, free: 142.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 7.277e-05/6.71, allocations: 41.52 kB / 3.534 GB, free: 142.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/6.71, allocations: 126.7 kB / 3.535 GB, free: 142.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/6.71, allocations: 221.7 kB / 3.535 GB, free: 142.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/6.71, allocations: 25.7 kB / 3.535 GB, free: 142.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/6.71, allocations: 151.7 kB / 3.535 GB, free: 142.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.846e-06/6.71, allocations: 0 / 3.535 GB, free: 142.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/6.71, allocations: 4 kB / 3.535 GB, free: 142.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.865e-05/6.71, allocations: 330.8 kB / 3.535 GB, free: 142 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.371e-05/6.71, allocations: 7.984 kB / 3.535 GB, free: 142 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.567e-05/6.71, allocations: 49.95 kB / 3.535 GB, free: 141.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/6.71, allocations: 16.03 kB / 3.535 GB, free: 141.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/6.71, allocations: 4 kB / 3.535 GB, free: 141.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/6.71, allocations: 93.55 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/6.71, allocations: 7.938 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/6.71, allocations: 4 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/6.71, allocations: 3.984 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/6.71, allocations: 15.94 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/6.71, allocations: 0 / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.651e-05/6.711, allocations: 19.75 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/6.711, allocations: 4 kB / 3.535 GB, free: 141.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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 8.244e-05/6.711, allocations: 201.1 kB / 3.536 GB, free: 141.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/6.711, allocations: 124.8 kB / 3.536 GB, free: 141.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/6.711, allocations: 121.8 kB / 3.536 GB, free: 141.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/6.711, allocations: 180.2 kB / 3.536 GB, free: 141.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.879e-05/6.711, allocations: 176.3 kB / 3.536 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.861e-05/6.711, allocations: 184.3 kB / 3.536 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/6.711, allocations: 461 kB / 3.537 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/6.711, allocations: 101 kB / 3.537 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/6.711, allocations: 104.9 kB / 3.537 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.203e-05/6.711, allocations: 188.2 kB / 3.537 GB, free: 139.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/6.711, allocations: 180.2 kB / 3.537 GB, free: 139.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.765e-05/6.711, allocations: 180.2 kB / 3.538 GB, free: 139.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.079e-05/6.711, allocations: 180.3 kB / 3.538 GB, free: 139.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.472e-05/6.711, allocations: 327.5 kB / 3.538 GB, free: 138.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/6.711, allocations: 189.9 kB / 3.538 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.229e-05/6.711, allocations: 188.2 kB / 3.538 GB, free: 138.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.448e-05/6.712, allocations: 113.9 kB / 3.539 GB, free: 138.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/6.712, allocations: 180.2 kB / 3.539 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/6.712, allocations: 101 kB / 3.539 GB, free: 138.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001077/6.712, allocations: 178 kB / 3.539 GB, free: 138 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.11e-07/6.712, allocations: 0 / 3.539 GB, free: 138 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003829/6.712, allocations: 55.98 kB / 3.539 GB, free: 137.9 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 () * 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 (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.0006484/6.713, allocations: 0.66 MB / 3.54 GB, free: 137.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 8.654e-05/6.713, allocations: 27.92 kB / 3.54 GB, free: 137.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/6.713, allocations: 0 / 3.54 GB, free: 137.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/6.713, allocations: 3.938 kB / 3.54 GB, free: 137.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/6.713, allocations: 0.5817 MB / 3.54 GB, free: 136.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/6.714, allocations: 373.2 kB / 3.541 GB, free: 136.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/6.714, allocations: 0.7127 MB / 3.541 GB, free: 135.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 6.168e-05/6.714, allocations: 25.53 kB / 3.541 GB, free: 135.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/6.714, allocations: 15.44 kB / 3.541 GB, free: 135.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.9e-07/6.714, allocations: 0 / 3.541 GB, free: 135.4 MB / 1.167 GB Notification: Performance of Templates: time 0.0111/6.725, allocations: 8.81 MB / 3.55 GB, free: 126.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches