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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.094/2.094, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001159/0.001159, allocations: 181.2 kB / 490.8 MB, free: 1.902 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.487/1.487, allocations: 221.3 MB / 0.7863 GB, free: 13.62 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.0009726/0.0009727, allocations: 87.05 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.345e-06/8.375e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2805, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.342/4.623, allocations: 2.167 GB / 3.379 GB, free: 135.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/4.623, allocations: 90.16 kB / 3.379 GB, free: 135.7 MB / 1.151 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: time 0.8906/5.513, allocations: 136.5 MB / 3.512 GB, free: 370.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.772e-05/5.513, allocations: 3.844 kB / 3.512 GB, free: 370.9 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0003921/5.514, allocations: 402 kB / 3.512 GB, free: 370.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/5.514, allocations: 7.875 kB / 3.512 GB, free: 370.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.494e-05/5.514, allocations: 26.97 kB / 3.512 GB, free: 370.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/5.514, allocations: 249 kB / 3.513 GB, free: 370.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/5.514, allocations: 3.625 kB / 3.513 GB, free: 370.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/5.514, allocations: 11.28 kB / 3.513 GB, free: 370.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.528e-05/5.514, allocations: 44.91 kB / 3.513 GB, free: 370.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/5.515, allocations: 213.2 kB / 3.513 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/5.515, allocations: 3.844 kB / 3.513 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/5.515, allocations: 6.125 kB / 3.513 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/5.515, allocations: 2.812 kB / 3.513 GB, free: 370.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000732/5.515, allocations: 1.528 MB / 3.514 GB, free: 368.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.929e-05/5.516, allocations: 168.9 kB / 3.515 GB, free: 368.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/5.516, allocations: 82.7 kB / 3.515 GB, free: 368.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/5.516, allocations: 77.78 kB / 3.515 GB, free: 368.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/5.516, allocations: 105.8 kB / 3.515 GB, free: 368.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/5.516, allocations: 0 / 3.515 GB, free: 368.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 7.597e-05/5.516, allocations: 36.2 kB / 3.515 GB, free: 368.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/5.516, allocations: 65 kB / 3.515 GB, free: 368.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/5.516, allocations: 144.5 kB / 3.515 GB, free: 368.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-06/5.516, allocations: 25.7 kB / 3.515 GB, free: 368.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.977e-05/5.516, allocations: 144.8 kB / 3.515 GB, free: 368 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.905e-06/5.516, allocations: 0 / 3.515 GB, free: 368 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/5.516, allocations: 0 / 3.515 GB, free: 368 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.418e-05/5.516, allocations: 328.1 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/5.516, allocations: 2.906 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.845e-05/5.516, allocations: 46.77 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/5.516, allocations: 7.594 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/5.516, allocations: 2.656 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001414/5.516, allocations: 70.3 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/5.516, allocations: 6.25 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/5.516, allocations: 5.984 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/5.516, allocations: 3.812 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/5.516, allocations: 14.91 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/5.516, allocations: 0 / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/5.516, allocations: 11.81 kB / 3.516 GB, free: 367.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/5.516, allocations: 3.625 kB / 3.516 GB, free: 367.6 MB / 1.151 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 () * 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 7.06e-05/5.517, allocations: 184.7 kB / 3.516 GB, free: 367.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/5.517, allocations: 126.9 kB / 3.516 GB, free: 367.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.105e-05/5.517, allocations: 109.2 kB / 3.516 GB, free: 367.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.903e-05/5.517, allocations: 178.8 kB / 3.516 GB, free: 367 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.347e-05/5.517, allocations: 187.8 kB / 3.517 GB, free: 366.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.881e-05/5.517, allocations: 176.3 kB / 3.517 GB, free: 366.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/5.517, allocations: 434.5 kB / 3.517 GB, free: 366.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/5.517, allocations: 101 kB / 3.517 GB, free: 366.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.805e-05/5.517, allocations: 101 kB / 3.517 GB, free: 366 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.071e-05/5.517, allocations: 187.1 kB / 3.517 GB, free: 365.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.578e-05/5.517, allocations: 182.9 kB / 3.518 GB, free: 365.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.469e-05/5.517, allocations: 180.1 kB / 3.518 GB, free: 365.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.155e-05/5.517, allocations: 185.8 kB / 3.518 GB, free: 365.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.695e-05/5.517, allocations: 309.7 kB / 3.518 GB, free: 365 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.628e-05/5.517, allocations: 189.8 kB / 3.518 GB, free: 364.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/5.517, allocations: 180 kB / 3.519 GB, free: 364.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/5.518, allocations: 109.3 kB / 3.519 GB, free: 364.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/5.518, allocations: 184 kB / 3.519 GB, free: 364.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/5.518, allocations: 105 kB / 3.519 GB, free: 364.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 5.556e-05/5.518, allocations: 114.9 kB / 3.519 GB, free: 364.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003159/5.518, allocations: 61.78 kB / 3.519 GB, free: 364.1 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.0008092/5.519, allocations: 0.7399 MB / 3.52 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 8.524e-05/5.519, allocations: 25.28 kB / 3.52 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/5.519, allocations: 0 / 3.52 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/5.519, allocations: 2.875 kB / 3.52 GB, free: 363.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/5.519, allocations: 0.5243 MB / 3.52 GB, free: 363.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/5.52, allocations: 210.4 kB / 3.521 GB, free: 363.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/5.52, allocations: 0.7332 MB / 3.521 GB, free: 362.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.31e-07/5.52, allocations: 0 / 3.521 GB, free: 362.5 MB / 1.151 GB Notification: Performance of Templates: time 0.007127/5.527, allocations: 3.989 MB / 3.525 GB, free: 362.4 MB / 1.151 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