Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.0007327/0.0007326, allocations: 86.64 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.0007996/0.0007996, 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.457/1.457, allocations: 223.2 MB / 240 MB, free: 5.273 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.45/2.45, allocations: 390.4 MB / 0.6655 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004239/0.0004242, allocations: 8 kB / 0.8149 GB, free: 14.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6795/0.6799, allocations: 142.3 MB / 0.9538 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1579/0.8378, allocations: 134.2 MB / 1.085 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004939/0.8428, allocations: 4.33 MB / 1.089 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003278/0.8432, allocations: 4 kB / 1.089 GB, free: 5.336 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.8437, allocations: 115.1 kB / 1.089 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.844, allocations: 71.56 kB / 1.089 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.8442, allocations: 55.94 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003686/0.8446, allocations: 310.7 kB / 1.09 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.8448, allocations: 102.4 kB / 1.09 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.845, allocations: 87.59 kB / 1.09 GB, free: 4.605 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.8452, allocations: 127.5 kB / 1.09 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.8452, allocations: 7.938 kB / 1.09 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.163e-05/0.8453, allocations: 4 kB / 1.09 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.679e-05/0.8453, allocations: 47.89 kB / 1.09 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.8454, allocations: 65.56 kB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.8456, allocations: 166 kB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.8456, allocations: 7.984 kB / 1.09 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8456, allocations: 0 / 1.09 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8456, allocations: 0 / 1.09 GB, free: 4.184 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004659/0.8461, allocations: 447 kB / 1.091 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8461, allocations: 8.031 kB / 1.091 GB, free: 3.691 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.047e-05/0.8462, allocations: 66.47 kB / 1.091 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.8463, allocations: 23.72 kB / 1.091 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002701/0.8465, allocations: 250.6 kB / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.73e-05/0.8466, allocations: 16.44 kB / 1.091 GB, free: 3.293 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.8466, allocations: 27.95 kB / 1.091 GB, free: 3.266 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.847, allocations: 300.9 kB / 1.091 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.847, allocations: 4 kB / 1.091 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.032e-05/0.847, allocations: 12 kB / 1.091 GB, free: 2.902 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.587e-06/0.847, allocations: 4 kB / 1.091 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.8472, allocations: 123.7 kB / 1.091 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.8485, allocations: 1.977 MB / 1.093 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.756e-05/0.8486, allocations: 173.1 kB / 1.094 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.8487, allocations: 80.14 kB / 1.094 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.8487, allocations: 75.28 kB / 1.094 GB, free: 364 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.8488, allocations: 117.8 kB / 1.094 GB, free: 236 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.8488, allocations: 0 / 1.094 GB, free: 236 kB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.848e-05/0.8489, allocations: 57.36 kB / 1.094 GB, free: 172 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.849, allocations: 126.7 kB / 1.094 GB, free: 32 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.8493, allocations: 332.6 kB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.8494, allocations: 25.7 kB / 1.094 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.8495, allocations: 159.7 kB / 1.095 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-06/0.8495, allocations: 11.98 kB / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.8495, allocations: 0 / 1.095 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.8497, allocations: 326.8 kB / 1.095 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.8497, allocations: 11.98 kB / 1.095 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.048e-05/0.8498, allocations: 50.88 kB / 1.095 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.8498, allocations: 27.92 kB / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.8498, allocations: 0 / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001848/0.85, allocations: 105.4 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.85, allocations: 4 kB / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.85, allocations: 0 / 1.095 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.8501, allocations: 4 kB / 1.095 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.146e-05/0.8501, allocations: 19.98 kB / 1.095 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/0.8502, allocations: 8.141 kB / 1.095 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.165e-05/0.8502, allocations: 27.69 kB / 1.095 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.8503, allocations: 7.953 kB / 1.095 GB, free: 14.86 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001325/0.8504, allocations: 213 kB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.8505, allocations: 128.8 kB / 1.095 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.857e-05/0.8505, allocations: 122 kB / 1.096 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.929e-05/0.8506, allocations: 180.2 kB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.805e-05/0.8507, allocations: 176.3 kB / 1.096 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-05/0.8507, allocations: 188.2 kB / 1.096 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003325/0.8511, allocations: 481.1 kB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.002e-05/0.8511, allocations: 104.9 kB / 1.097 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.677e-05/0.8512, allocations: 109 kB / 1.097 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-05/0.8513, allocations: 176.3 kB / 1.097 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-05/0.8513, allocations: 180.2 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-05/0.8514, allocations: 176.3 kB / 1.097 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-05/0.8515, allocations: 188.2 kB / 1.097 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.8516, allocations: 335.4 kB / 1.098 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.8518, allocations: 209.7 kB / 1.098 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.8519, allocations: 176.3 kB / 1.098 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.852, allocations: 112.9 kB / 1.098 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.852, allocations: 180.2 kB / 1.098 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.706e-05/0.8521, allocations: 101 kB / 1.098 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002528/0.8524, allocations: 239 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8524, allocations: 0 / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002788/0.8526, allocations: 24 kB / 1.099 GB, free: 10.92 MB / 0.8575 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.0004052/0.8531, allocations: 0.8396 MB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.436e-05/0.8531, allocations: 23.92 kB / 1.1 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8532, allocations: 4 kB / 1.1 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.8532, allocations: 0 / 1.1 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007099/0.8539, allocations: 0.5976 MB / 1.1 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.8555, allocations: 1.278 MB / 1.101 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.8558, allocations: 0.7404 MB / 1.102 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.987e-05/0.8559, allocations: 30.28 kB / 1.102 GB, free: 7.277 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.845e-05/0.856, allocations: 55.42 kB / 1.102 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.856, allocations: 0 / 1.102 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.871, allocations: 4.454 MB / 1.107 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.8712, allocations: 199.1 kB / 1.107 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/2.61, allocations: 0 / 1.107 GB, free: 2.719 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat does not exist to compare? outputFormat=mat