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.000927/0.000927, allocations: 99.62 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.000935/0.000935, 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.371 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.48/2.48, allocations: 390.3 MB / 0.6653 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006564/0.0006565, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7432/0.7439, allocations: 142.3 MB / 0.9536 GB, free: 8.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1487/0.8926, allocations: 125.4 MB / 1.076 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004232/0.8969, allocations: 3.961 MB / 1.08 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.8972, allocations: 11.94 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000249/0.8974, allocations: 43.69 kB / 1.08 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.8978, allocations: 139.6 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001311/0.8979, allocations: 43.95 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.8984, allocations: 247.2 kB / 1.08 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.8986, allocations: 106.4 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.8988, allocations: 83.64 kB / 1.081 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.8989, allocations: 107.5 kB / 1.081 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.899, allocations: 11.94 kB / 1.081 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.087e-05/0.899, allocations: 8 kB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.8991, allocations: 39.84 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.59e-05/0.8991, allocations: 65.58 kB / 1.081 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.8993, allocations: 173.3 kB / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.8993, allocations: 0 / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8993, allocations: 0 / 1.081 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.8993, allocations: 0 / 1.081 GB, free: 13.41 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.0004274/0.8998, allocations: 451.1 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.8998, allocations: 12.03 kB / 1.081 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.384e-05/0.8999, allocations: 62.53 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.8999, allocations: 23.72 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.9002, allocations: 254.6 kB / 1.082 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.9003, allocations: 12.44 kB / 1.082 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/0.9003, allocations: 23.95 kB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.9007, allocations: 296.9 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.9007, allocations: 3.938 kB / 1.082 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.178e-05/0.9007, allocations: 12 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.9007, allocations: 8 kB / 1.082 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001813/0.9009, allocations: 123.8 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.9023, allocations: 1.973 MB / 1.084 GB, free: 9.926 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.804e-05/0.9024, allocations: 173.1 kB / 1.084 GB, free: 9.746 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.9024, allocations: 79.28 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.9025, allocations: 109.8 kB / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.9025, allocations: 0 / 1.084 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.244e-05/0.9026, allocations: 45.42 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.9026, allocations: 130.7 kB / 1.085 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.903, allocations: 328.5 kB / 1.085 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.903, allocations: 29.7 kB / 1.085 GB, free: 8.984 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.9031, allocations: 159.7 kB / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.9031, allocations: 0 / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.9031, allocations: 0 / 1.085 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.9033, allocations: 342.8 kB / 1.085 GB, free: 8.48 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.9033, allocations: 4 kB / 1.085 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.9033, allocations: 62.8 kB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.208e-05/0.9034, allocations: 12 kB / 1.086 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9034, allocations: 0 / 1.086 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001717/0.9035, allocations: 109.2 kB / 1.086 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.9036, allocations: 4 kB / 1.086 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.9036, allocations: 11.88 kB / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.9036, allocations: 0 / 1.086 GB, free: 8.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.9037, allocations: 16 kB / 1.086 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.9037, allocations: 7.938 kB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.964e-05/0.9038, allocations: 23.69 kB / 1.086 GB, free: 8.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.9038, allocations: 7.984 kB / 1.086 GB, free: 8.195 MB / 0.8419 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.000138/0.9039, allocations: 214.5 kB / 1.086 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.583e-05/0.904, allocations: 132.7 kB / 1.086 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.9041, allocations: 126 kB / 1.086 GB, free: 7.711 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.127e-05/0.9042, allocations: 176.3 kB / 1.086 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.857e-05/0.9042, allocations: 196.2 kB / 1.086 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-05/0.9043, allocations: 180.3 kB / 1.087 GB, free: 7.148 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.9046, allocations: 477.1 kB / 1.087 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.9046, allocations: 108.9 kB / 1.087 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.953e-05/0.9047, allocations: 101 kB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-05/0.9047, allocations: 180.2 kB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.9048, allocations: 180.2 kB / 1.088 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.19e-05/0.9049, allocations: 188.3 kB / 1.088 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.779e-05/0.9049, allocations: 180.2 kB / 1.088 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.9051, allocations: 327.4 kB / 1.088 GB, free: 5.32 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.9052, allocations: 201.8 kB / 1.089 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.9053, allocations: 192.2 kB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.9054, allocations: 101 kB / 1.089 GB, free: 4.797 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.9055, allocations: 180.3 kB / 1.089 GB, free: 4.613 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.9055, allocations: 104.9 kB / 1.089 GB, free: 4.504 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000212/0.9057, allocations: 235 kB / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.9057, allocations: 0 / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002546/0.906, allocations: 27.94 kB / 1.089 GB, free: 4.25 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.0004106/0.9064, allocations: 0.8358 MB / 1.09 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.9065, allocations: 27.88 kB / 1.09 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9065, allocations: 0.5 kB / 1.09 GB, free: 3.359 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.9065, allocations: 4 kB / 1.09 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006839/0.9072, allocations: 0.5906 MB / 1.091 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.9092, allocations: 2.315 MB / 1.093 GB, free: 364 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.9096, allocations: 0.7521 MB / 1.094 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.778e-05/0.9097, allocations: 34.27 kB / 1.094 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.9098, allocations: 59.41 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.9098, allocations: 3.938 kB / 1.094 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.9256, allocations: 4.432 MB / 1.098 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00022/0.9259, allocations: 190.1 kB / 1.098 GB, free: 11 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.666, allocations: 3.938 kB / 1.098 GB, free: 11 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