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.393/2.393, allocations: 390.3 MB / 402.8 MB, free: 6.676 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.001015/0.001015, allocations: 176.8 kB / 496.1 MB, free: 12.88 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.584/1.584, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0008682/0.0008686, allocations: 87.75 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.845e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.978/6.3, allocations: 2.163 GB / 3.382 GB, free: 103.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.3, allocations: 79.95 kB / 3.382 GB, free: 103.6 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.184/7.484, allocations: 223.7 MB / 3.6 GB, free: 353 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.232e-06/7.484, allocations: 4 kB / 3.6 GB, free: 353 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2e-05/7.484, allocations: 11.98 kB / 3.6 GB, free: 353 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.0004505/7.485, allocations: 456 kB / 3.601 GB, free: 352.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/7.485, allocations: 12.03 kB / 3.601 GB, free: 352.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/7.485, allocations: 58.55 kB / 3.601 GB, free: 352.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/7.485, allocations: 40.91 kB / 3.601 GB, free: 352.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/7.485, allocations: 260.7 kB / 3.601 GB, free: 352.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/7.486, allocations: 139.4 kB / 3.601 GB, free: 351.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/7.486, allocations: 20 kB / 3.601 GB, free: 351.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/7.486, allocations: 286.9 kB / 3.601 GB, free: 351.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/7.486, allocations: 3.953 kB / 3.601 GB, free: 351.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/7.486, allocations: 11.94 kB / 3.601 GB, free: 351.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/7.486, allocations: 4 kB / 3.601 GB, free: 351.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/7.486, allocations: 156.7 kB / 3.602 GB, free: 351.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/7.487, allocations: 1.595 MB / 3.603 GB, free: 349.8 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.126e-05/7.487, allocations: 177.1 kB / 3.603 GB, free: 349.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/7.487, allocations: 80.14 kB / 3.603 GB, free: 349.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/7.487, allocations: 75.28 kB / 3.604 GB, free: 349.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/7.488, allocations: 105.8 kB / 3.604 GB, free: 349.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.463e-06/7.488, allocations: 4 kB / 3.604 GB, free: 349.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 8.43e-05/7.488, allocations: 45.45 kB / 3.604 GB, free: 349.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/7.488, allocations: 126.7 kB / 3.604 GB, free: 349.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002374/7.488, allocations: 287 kB / 3.604 GB, free: 348.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/7.488, allocations: 25.7 kB / 3.604 GB, free: 348.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/7.488, allocations: 187.2 kB / 3.604 GB, free: 348.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 3.707e-06/7.488, allocations: 4 kB / 3.604 GB, free: 348.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/7.488, allocations: 0 / 3.604 GB, free: 348.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/7.488, allocations: 338.8 kB / 3.605 GB, free: 348.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/7.488, allocations: 35.98 kB / 3.605 GB, free: 348.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.739e-05/7.488, allocations: 158.3 kB / 3.605 GB, free: 348 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.233e-05/7.488, allocations: 59.97 kB / 3.605 GB, free: 347.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/7.488, allocations: 7.875 kB / 3.605 GB, free: 347.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002919/7.489, allocations: 213 kB / 3.605 GB, free: 347.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/7.489, allocations: 13.5 kB / 3.605 GB, free: 347.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/7.489, allocations: 4 kB / 3.605 GB, free: 347.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/7.489, allocations: 8.625 kB / 3.605 GB, free: 347.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/7.489, allocations: 47.88 kB / 3.605 GB, free: 347.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/7.489, allocations: 11.94 kB / 3.605 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/7.489, allocations: 23.69 kB / 3.605 GB, free: 347.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/7.489, allocations: 16 kB / 3.605 GB, free: 347.6 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.179e-05/7.489, allocations: 192.2 kB / 3.605 GB, free: 347.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.958e-05/7.489, allocations: 120.8 kB / 3.605 GB, free: 347.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.864e-05/7.489, allocations: 129.6 kB / 3.606 GB, free: 347.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/7.489, allocations: 180.3 kB / 3.606 GB, free: 347 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.777e-05/7.489, allocations: 180.2 kB / 3.606 GB, free: 346.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.543e-05/7.489, allocations: 180.2 kB / 3.606 GB, free: 346.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/7.49, allocations: 481.1 kB / 3.607 GB, free: 346.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/7.49, allocations: 108.9 kB / 3.607 GB, free: 346 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/7.49, allocations: 105 kB / 3.607 GB, free: 345.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-05/7.49, allocations: 180.2 kB / 3.607 GB, free: 345.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.773e-05/7.49, allocations: 184.2 kB / 3.607 GB, free: 345.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.268e-05/7.49, allocations: 180.3 kB / 3.607 GB, free: 345.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-05/7.49, allocations: 184.2 kB / 3.607 GB, free: 345.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.734e-05/7.49, allocations: 331.5 kB / 3.608 GB, free: 344.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-05/7.49, allocations: 205.8 kB / 3.608 GB, free: 344.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/7.49, allocations: 181.7 kB / 3.608 GB, free: 344.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.951e-05/7.49, allocations: 108.9 kB / 3.608 GB, free: 344.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/7.49, allocations: 176.3 kB / 3.608 GB, free: 344.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/7.49, allocations: 109 kB / 3.609 GB, free: 343.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001623/7.49, allocations: 219 kB / 3.609 GB, free: 343.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.41e-07/7.49, allocations: 0 / 3.609 GB, free: 343.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.000571/7.491, allocations: 135.8 kB / 3.609 GB, free: 343.6 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.001127/7.492, allocations: 1.662 MB / 3.61 GB, free: 341.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001576/7.492, allocations: 76.23 kB / 3.611 GB, free: 341.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/7.492, allocations: 0 / 3.611 GB, free: 341.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/7.492, allocations: 0 / 3.611 GB, free: 341.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/7.492, allocations: 0.5598 MB / 3.611 GB, free: 341.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/7.493, allocations: 330.6 kB / 3.611 GB, free: 340.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/7.493, allocations: 0.7438 MB / 3.612 GB, free: 340.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001343/7.493, allocations: 41.94 kB / 3.612 GB, free: 340.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/7.493, allocations: 55.42 kB / 3.612 GB, free: 340.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.4e-07/7.493, allocations: 0 / 3.612 GB, free: 340.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03127/7.525, allocations: 21.68 MB / 3.633 GB, free: 318.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/7.525, allocations: 155.5 kB / 3.634 GB, free: 318.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/10.01, allocations: 2.391 kB / 3.634 GB, free: 318.3 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