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: "" <> 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/Buildings 10.0.0-master/package.mo): time 2.38/2.38, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.00133/0.00133, allocations: 180 kB / 0.4901 GB, free: 2.246 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.0009322/0.0009322, allocations: 96.27 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005074/0.000508, allocations: 13.92 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3565, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.845/6.202, allocations: 2.163 GB / 3.392 GB, free: 229.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.202, allocations: 89.94 kB / 3.392 GB, free: 229.1 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 0.4053/6.608, allocations: 224.2 MB / 3.611 GB, free: 17.17 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.655e-06/6.608, allocations: 3.984 kB / 3.611 GB, free: 17.17 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.403e-05/6.608, allocations: 8 kB / 3.611 GB, free: 17.16 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.0006662/6.608, allocations: 472.3 kB / 3.612 GB, free: 16.65 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/6.608, allocations: 8.562 kB / 3.612 GB, free: 16.64 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.671e-05/6.609, allocations: 58.55 kB / 3.612 GB, free: 16.58 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002874/6.609, allocations: 51.64 kB / 3.612 GB, free: 16.53 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/6.609, allocations: 258.8 kB / 3.612 GB, free: 16.23 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/6.609, allocations: 139.2 kB / 3.612 GB, free: 16.07 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/6.609, allocations: 24 kB / 3.612 GB, free: 16.05 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/6.61, allocations: 286.8 kB / 3.612 GB, free: 15.73 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/6.61, allocations: 0 / 3.612 GB, free: 15.73 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/6.61, allocations: 12 kB / 3.613 GB, free: 15.71 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/6.61, allocations: 11.94 kB / 3.613 GB, free: 15.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/6.61, allocations: 152.6 kB / 3.613 GB, free: 15.55 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/6.612, allocations: 1.599 MB / 3.614 GB, free: 13.87 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/6.612, allocations: 173.1 kB / 3.614 GB, free: 13.69 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/6.612, allocations: 79.22 kB / 3.614 GB, free: 13.61 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/6.612, allocations: 109.8 kB / 3.615 GB, free: 13.49 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/6.612, allocations: 0 / 3.615 GB, free: 13.49 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 9.368e-05/6.612, allocations: 41.52 kB / 3.615 GB, free: 13.45 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/6.612, allocations: 126.7 kB / 3.615 GB, free: 13.31 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002916/6.612, allocations: 293.7 kB / 3.615 GB, free: 13.02 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-06/6.612, allocations: 25.7 kB / 3.615 GB, free: 12.98 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/6.612, allocations: 187.1 kB / 3.615 GB, free: 12.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.28e-06/6.612, allocations: 4 kB / 3.615 GB, free: 12.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/6.612, allocations: 4 kB / 3.615 GB, free: 12.79 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.804e-05/6.612, allocations: 326.8 kB / 3.616 GB, free: 12.46 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/6.612, allocations: 35.97 kB / 3.616 GB, free: 12.43 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/6.613, allocations: 165.9 kB / 3.616 GB, free: 12.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/6.613, allocations: 59.92 kB / 3.616 GB, free: 12.14 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/6.613, allocations: 4 kB / 3.616 GB, free: 12.14 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003844/6.613, allocations: 217.2 kB / 3.616 GB, free: 11.92 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/6.613, allocations: 8 kB / 3.616 GB, free: 11.91 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/6.613, allocations: 4 kB / 3.616 GB, free: 11.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/6.613, allocations: 8 kB / 3.616 GB, free: 11.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/6.613, allocations: 35.92 kB / 3.616 GB, free: 11.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/6.613, allocations: 11.98 kB / 3.616 GB, free: 11.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/6.613, allocations: 36 kB / 3.616 GB, free: 11.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.803e-05/6.614, allocations: 16 kB / 3.616 GB, free: 11.8 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/6.614, allocations: 217 kB / 3.616 GB, free: 11.58 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.975e-05/6.614, allocations: 128.6 kB / 3.616 GB, free: 11.45 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.658e-05/6.614, allocations: 125.6 kB / 3.617 GB, free: 11.32 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-05/6.614, allocations: 180.3 kB / 3.617 GB, free: 11.14 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.588e-05/6.614, allocations: 180.2 kB / 3.617 GB, free: 10.95 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-05/6.614, allocations: 184.3 kB / 3.617 GB, free: 10.77 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/6.614, allocations: 485 kB / 3.618 GB, free: 10.23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/6.614, allocations: 105 kB / 3.618 GB, free: 10.12 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/6.614, allocations: 113 kB / 3.618 GB, free: 10.01 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.579e-05/6.614, allocations: 180.2 kB / 3.618 GB, free: 9.824 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.636e-05/6.614, allocations: 180.3 kB / 3.618 GB, free: 9.641 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-05/6.614, allocations: 180.2 kB / 3.618 GB, free: 9.457 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.087e-05/6.614, allocations: 180.3 kB / 3.618 GB, free: 9.273 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/6.614, allocations: 327.5 kB / 3.619 GB, free: 8.93 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 9.031e-05/6.615, allocations: 205.8 kB / 3.619 GB, free: 8.703 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.626e-05/6.615, allocations: 188.1 kB / 3.619 GB, free: 8.512 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/6.615, allocations: 101.9 kB / 3.619 GB, free: 8.406 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/6.615, allocations: 180.2 kB / 3.619 GB, free: 8.223 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/6.615, allocations: 113 kB / 3.619 GB, free: 8.105 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0002061/6.615, allocations: 213.9 kB / 3.62 GB, free: 7.898 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.5e-07/6.615, allocations: 0 / 3.62 GB, free: 7.898 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0006534/6.616, allocations: 127.9 kB / 3.62 GB, free: 7.773 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.002021/6.618, allocations: 1.658 MB / 3.621 GB, free: 6.098 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002352/6.618, allocations: 83.77 kB / 3.622 GB, free: 6.016 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/6.618, allocations: 1.25 kB / 3.622 GB, free: 6.016 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.196e-06/6.618, allocations: 0 / 3.622 GB, free: 6.016 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004629/6.619, allocations: 0.5453 MB / 3.622 GB, free: 5.469 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/6.622, allocations: 4.136 MB / 3.626 GB, free: 1.188 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/6.622, allocations: 0.7476 MB / 3.627 GB, free: 420 kB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001796/6.622, allocations: 33.88 kB / 3.627 GB, free: 388 kB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/6.622, allocations: 59.41 kB / 3.627 GB, free: 328 kB / 1.167 GB Notification: Performance of SimCode: time 6.61e-07/6.622, allocations: 4 kB / 3.627 GB, free: 324 kB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.716/7.338, allocations: 18.97 MB / 3.645 GB, free: 363 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/7.339, allocations: 187.1 kB / 3.646 GB, free: 362.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/9.807, allocations: 0.9688 kB / 3.646 GB, free: 362.8 MB / 1.167 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat does not exist to compare? outputFormat=mat