Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir",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.0009056/0.0009056, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.0009378/0.0009379, allocations: 177.3 kB / 15.95 MB, free: 216 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.454/2.454, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003506, allocations: 16 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7187/0.719, allocations: 142.3 MB / 0.9536 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.1425/0.8616, allocations: 125.3 MB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0044/0.8661, allocations: 3.961 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.8663, allocations: 7.938 kB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.8666, allocations: 55.67 kB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003252/0.8669, allocations: 131.6 kB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.8671, allocations: 47.89 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004691/0.8675, allocations: 243.2 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.8677, allocations: 66.09 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.8679, allocations: 83.62 kB / 1.08 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.8681, allocations: 103.5 kB / 1.081 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.8681, allocations: 4 kB / 1.081 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.985e-05/0.8681, allocations: 4 kB / 1.081 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.8681, allocations: 19.92 kB / 1.081 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.8682, allocations: 53.58 kB / 1.081 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.8683, allocations: 114 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.8683, allocations: 0 / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8683, allocations: 0 / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.8683, allocations: 0 / 1.081 GB, free: 13.57 MB / 0.8419 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.0003834/0.8687, allocations: 418.8 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.8688, allocations: 8.031 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.8688, allocations: 50.55 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.8689, allocations: 23.72 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.8692, allocations: 232 kB / 1.081 GB, free: 12.76 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.8692, allocations: 12 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.8692, allocations: 19.95 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.8695, allocations: 208.5 kB / 1.082 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8695, allocations: 3.938 kB / 1.082 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.8695, allocations: 8 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.8695, allocations: 4 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.8697, allocations: 79.78 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.8707, allocations: 1.582 MB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.103e-05/0.8708, allocations: 181.1 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.8709, allocations: 75.28 kB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.8709, allocations: 105.8 kB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.8709, allocations: 0 / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.928e-05/0.871, allocations: 49.47 kB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/0.8711, allocations: 126.7 kB / 1.084 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.8714, allocations: 250.6 kB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.8714, allocations: 25.7 kB / 1.084 GB, free: 9.855 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.8715, allocations: 143.7 kB / 1.084 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/0.8715, allocations: 3.984 kB / 1.084 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.8715, allocations: 0 / 1.084 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8716, allocations: 330.8 kB / 1.085 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.8717, allocations: 8 kB / 1.085 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.8717, allocations: 50 kB / 1.085 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.259e-05/0.8718, allocations: 19.94 kB / 1.085 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8718, allocations: 0 / 1.085 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000179/0.8719, allocations: 89.31 kB / 1.085 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.872, allocations: 4 kB / 1.085 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.872, allocations: 4 kB / 1.085 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.872, allocations: 0 / 1.085 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.292e-05/0.8721, allocations: 15.98 kB / 1.085 GB, free: 9.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8721, allocations: 12.17 kB / 1.085 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/0.8722, allocations: 19.69 kB / 1.085 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.8722, allocations: 4 kB / 1.085 GB, free: 9.125 MB / 0.8419 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 0.0001293/0.8723, allocations: 202.1 kB / 1.085 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.059e-05/0.8724, allocations: 116.8 kB / 1.085 GB, free: 8.797 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.402e-05/0.8725, allocations: 117.8 kB / 1.085 GB, free: 8.668 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.93e-05/0.8726, allocations: 192.1 kB / 1.085 GB, free: 8.473 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-05/0.8727, allocations: 180.3 kB / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00012/0.8728, allocations: 188.1 kB / 1.086 GB, free: 8.098 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003841/0.8732, allocations: 449.2 kB / 1.086 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.666e-05/0.8732, allocations: 101 kB / 1.086 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.8733, allocations: 112.9 kB / 1.086 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-05/0.8733, allocations: 180.3 kB / 1.087 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.126e-05/0.8734, allocations: 180.2 kB / 1.087 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.908e-05/0.8735, allocations: 176.3 kB / 1.087 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-05/0.8736, allocations: 188.3 kB / 1.087 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.8737, allocations: 327.5 kB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.98e-05/0.8738, allocations: 201.8 kB / 1.088 GB, free: 6.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.868e-05/0.8739, allocations: 176.3 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.874, allocations: 101 kB / 1.088 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.8741, allocations: 180.2 kB / 1.088 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/0.8742, allocations: 105 kB / 1.088 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001752/0.8744, allocations: 182 kB / 1.088 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8744, allocations: 0 / 1.088 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000278/0.8746, allocations: 24 kB / 1.088 GB, free: 5.297 MB / 0.8419 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.0005396/0.8752, allocations: 0.8163 MB / 1.089 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.8753, allocations: 28.28 kB / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8753, allocations: 0 / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.8753, allocations: 0 / 1.089 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007233/0.876, allocations: 0.5807 MB / 1.09 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.8776, allocations: 1.867 MB / 1.091 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.8779, allocations: 0.7166 MB / 1.092 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.572e-05/0.878, allocations: 21.53 kB / 1.092 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.8781, allocations: 43.42 kB / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.8781, allocations: 0 / 1.092 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.8935, allocations: 3.262 MB / 1.095 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.8937, allocations: 191.5 kB / 1.096 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/2.56, allocations: 0 / 1.096 GB, free: 13.75 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat does not exist to compare? outputFormat=mat