Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000953/0.0009532, allocations: 86.41 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.000362, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7637, allocations: 142.3 MB / 0.9539 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir): time 0.1858/0.9495, allocations: 158.2 MB / 1.108 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.008162/0.9577, allocations: 8.767 MB / 1.117 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.9581, allocations: 7.938 kB / 1.117 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.9586, allocations: 139 kB / 1.117 GB, free: 8.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.9589, allocations: 79.48 kB / 1.117 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.959, allocations: 47.89 kB / 1.117 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0003424/0.9593, allocations: 330.8 kB / 1.117 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002251/0.9596, allocations: 96.42 kB / 1.118 GB, free: 8.102 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002738/0.9599, allocations: 127.5 kB / 1.118 GB, free: 7.977 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.96, allocations: 71.52 kB / 1.118 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.96, allocations: 8 kB / 1.118 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.96, allocations: 4 kB / 1.118 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.9601, allocations: 15.88 kB / 1.118 GB, free: 7.879 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.9601, allocations: 61.64 kB / 1.118 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001429/0.9603, allocations: 151.5 kB / 1.118 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.9603, allocations: 0 / 1.118 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9603, allocations: 0 / 1.118 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.9603, allocations: 3.938 kB / 1.118 GB, free: 7.66 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0003863/0.9607, allocations: 447.1 kB / 1.118 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.9607, allocations: 16.03 kB / 1.118 GB, free: 7.16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.382e-05/0.9608, allocations: 54.48 kB / 1.118 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.9608, allocations: 27.67 kB / 1.118 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.9611, allocations: 236 kB / 1.119 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.9611, allocations: 16.44 kB / 1.119 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.9611, allocations: 20 kB / 1.119 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.9614, allocations: 235.8 kB / 1.119 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9615, allocations: 3.938 kB / 1.119 GB, free: 6.496 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.9615, allocations: 8 kB / 1.119 GB, free: 6.488 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.9615, allocations: 8 kB / 1.119 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.9617, allocations: 83.84 kB / 1.119 GB, free: 6.398 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000973/0.9626, allocations: 1.437 MB / 1.12 GB, free: 4.875 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 6.929e-05/0.9627, allocations: 169.1 kB / 1.121 GB, free: 4.699 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.9628, allocations: 80.14 kB / 1.121 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.9628, allocations: 83.27 kB / 1.121 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.9628, allocations: 105.8 kB / 1.121 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.9628, allocations: 0 / 1.121 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 8.414e-05/0.9629, allocations: 57.31 kB / 1.121 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.41e-05/0.963, allocations: 130.7 kB / 1.121 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.9632, allocations: 279 kB / 1.121 GB, free: 3.938 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.9633, allocations: 25.7 kB / 1.121 GB, free: 3.906 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.599e-05/0.9634, allocations: 151.9 kB / 1.121 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-06/0.9634, allocations: 0 / 1.121 GB, free: 3.754 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-06/0.9634, allocations: 8.047 kB / 1.122 GB, free: 3.746 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.9635, allocations: 330.8 kB / 1.122 GB, free: 3.414 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.033e-05/0.9635, allocations: 7.984 kB / 1.122 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.9635, allocations: 23.44 kB / 1.122 GB, free: 3.371 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.9636, allocations: 15.94 kB / 1.122 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9636, allocations: 0 / 1.122 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001326/0.9637, allocations: 73.34 kB / 1.122 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.9637, allocations: 8 kB / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.9638, allocations: 0 / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.9638, allocations: 0 / 1.122 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.9638, allocations: 11.95 kB / 1.122 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.9638, allocations: 4.125 kB / 1.122 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.9639, allocations: 19.69 kB / 1.122 GB, free: 3.234 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.9639, allocations: 4 kB / 1.122 GB, free: 3.23 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001185/0.964, allocations: 209 kB / 1.122 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.9641, allocations: 120.7 kB / 1.122 GB, free: 2.891 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.792e-05/0.9642, allocations: 121.9 kB / 1.122 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-05/0.9642, allocations: 180.2 kB / 1.123 GB, free: 2.582 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.113e-05/0.9643, allocations: 188.2 kB / 1.123 GB, free: 2.391 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.832e-05/0.9644, allocations: 184.2 kB / 1.123 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002782/0.9647, allocations: 469.1 kB / 1.123 GB, free: 1.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.779e-05/0.9647, allocations: 101 kB / 1.123 GB, free: 1.582 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.9647, allocations: 108.9 kB / 1.124 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.782e-05/0.9648, allocations: 180.3 kB / 1.124 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/0.9649, allocations: 180.2 kB / 1.124 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.223e-05/0.9649, allocations: 184.2 kB / 1.124 GB, free: 0.9141 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-05/0.965, allocations: 184.2 kB / 1.124 GB, free: 0.7266 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.9652, allocations: 319.6 kB / 1.125 GB, free: 400 kB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.9653, allocations: 205.7 kB / 1.125 GB, free: 168 kB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.9654, allocations: 176.3 kB / 1.125 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.9655, allocations: 113.1 kB / 1.125 GB, free: 15.87 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.9656, allocations: 184.5 kB / 1.125 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.407e-05/0.9657, allocations: 101 kB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001915/0.9659, allocations: 206 kB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9659, allocations: 0 / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002616/0.9661, allocations: 31.95 kB / 1.126 GB, free: 15.34 MB / 0.8887 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.0004245/0.9666, allocations: 0.8319 MB / 1.126 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.704e-05/0.9666, allocations: 19.88 kB / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9666, allocations: 0 / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.9667, allocations: 4 kB / 1.126 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000815/0.9675, allocations: 0.5976 MB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.969, allocations: 1.085 MB / 1.128 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.9693, allocations: 0.717 MB / 1.129 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 8.338e-05/0.9694, allocations: 29.88 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.9695, allocations: 59.42 kB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/0.9695, allocations: 0 / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.9844, allocations: 4.319 MB / 1.133 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.9846, allocations: 195.6 kB / 1.133 GB, free: 7.496 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.78, allocations: 4 kB / 1.133 GB, free: 7.492 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAir_res.mat does not exist to compare? outputFormat=mat