Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 405.3 MB, free: 13.43 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.001085/0.001085, allocations: 173.1 kB / 498.1 MB, free: 5.668 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.2 MB / 0.7948 GB, free: 18.76 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.0008754/0.0008754, allocations: 92.33 kB / 0.9346 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003425, allocations: 8.719 kB / 1.084 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2671, allocations: 142.4 MB / 1.223 GB, free: 89.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.4627, allocations: 161.3 MB / 1.38 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.463, allocations: 95.88 kB / 1.381 GB, free: 7.801 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03364/0.4967, allocations: 11.33 MB / 1.392 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4967, allocations: 0 / 1.392 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 2.939e-05/0.4967, allocations: 4 kB / 1.392 GB, free: 12.45 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001487/0.4982, allocations: 0.6735 MB / 1.392 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4983, allocations: 12.03 kB / 1.392 GB, free: 11.71 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.4984, allocations: 38.5 kB / 1.392 GB, free: 11.66 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009443/0.4993, allocations: 139.5 kB / 1.392 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/0.5009, allocations: 0.6664 MB / 1.393 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.5009, allocations: 8 kB / 1.393 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.501, allocations: 16 kB / 1.393 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.5014, allocations: 177.4 kB / 1.393 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.5014, allocations: 3.953 kB / 1.393 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.5015, allocations: 11.98 kB / 1.393 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.5015, allocations: 4 kB / 1.393 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.502, allocations: 167.9 kB / 1.393 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.5031, allocations: 0.5277 MB / 1.394 GB, free: 9.855 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.5036, allocations: 170.5 kB / 1.394 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.5036, allocations: 0 / 1.394 GB, free: 9.68 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.5036, allocations: 34.56 kB / 1.394 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.5037, allocations: 0 / 1.394 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of matching and sorting (n=8): time 0.0009429/0.5046, allocations: 309.3 kB / 1.394 GB, free: 9.328 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.5047, allocations: 55.41 kB / 1.395 GB, free: 9.262 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.505, allocations: 291.6 kB / 1.395 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.505, allocations: 29.7 kB / 1.395 GB, free: 8.934 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.5051, allocations: 148 kB / 1.395 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.583e-05/0.5052, allocations: 27.61 kB / 1.395 GB, free: 8.758 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.317e-05/0.5052, allocations: 8 kB / 1.395 GB, free: 8.75 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5053, allocations: 338.8 kB / 1.395 GB, free: 8.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.5056, allocations: 91.94 kB / 1.395 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.5059, allocations: 166.3 kB / 1.396 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/0.5062, allocations: 103.9 kB / 1.396 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5063, allocations: 0 / 1.396 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007166/0.507, allocations: 305.2 kB / 1.396 GB, free: 7.723 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/0.5073, allocations: 0.6952 MB / 1.397 GB, free: 6.973 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5073, allocations: 4 kB / 1.397 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5073, allocations: 0 / 1.397 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.5076, allocations: 71.81 kB / 1.397 GB, free: 6.898 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5076, allocations: 4 kB / 1.397 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.5079, allocations: 39.67 kB / 1.397 GB, free: 6.855 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.5079, allocations: 15.98 kB / 1.397 GB, free: 6.84 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.508, allocations: 9.094 kB / 1.397 GB, free: 6.832 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006489/0.5086, allocations: 259.7 kB / 1.397 GB, free: 6.578 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5086, allocations: 4 kB / 1.397 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.887e-06/0.5086, allocations: 0 / 1.397 GB, free: 6.574 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.5089, allocations: 63.98 kB / 1.397 GB, free: 6.512 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.5089, allocations: 4 kB / 1.397 GB, free: 6.508 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.5091, allocations: 27.83 kB / 1.397 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.5092, allocations: 19.98 kB / 1.397 GB, free: 6.461 MB / 0.9011 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 (18): * Single equations (assignments): 17 * Array equations: 1 * 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.0001852/0.5094, allocations: 229.1 kB / 1.397 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.369e-05/0.5094, allocations: 23.72 kB / 1.397 GB, free: 6.203 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007125/0.5101, allocations: 256.1 kB / 1.398 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5101, allocations: 0 / 1.398 GB, free: 5.945 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5102, allocations: 4 kB / 1.398 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.5102, allocations: 0 / 1.398 GB, free: 5.941 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.5105, allocations: 277.3 kB / 1.398 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.5105, allocations: 0 / 1.398 GB, free: 5.621 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.5107, allocations: 47.89 kB / 1.398 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5107, allocations: 0 / 1.398 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5107, allocations: 0 / 1.398 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.5107, allocations: 4 kB / 1.398 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5107, allocations: 0 / 1.398 GB, free: 5.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.5113, allocations: 338.9 kB / 1.398 GB, free: 5.223 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.5115, allocations: 112.7 kB / 1.398 GB, free: 5.094 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/0.5115, allocations: 8 kB / 1.398 GB, free: 5.086 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.5117, allocations: 15.98 kB / 1.398 GB, free: 5.07 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.5118, allocations: 7.984 kB / 1.398 GB, free: 5.062 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5118, allocations: 4 kB / 1.398 GB, free: 5.059 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002203/0.512, allocations: 243 kB / 1.399 GB, free: 4.824 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.11e-07/0.512, allocations: 0 / 1.399 GB, free: 4.824 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007254/0.5127, allocations: 175.9 kB / 1.399 GB, free: 4.652 MB / 0.9011 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 (9): * Single equations (assignments): 9 * 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.00151/0.5143, allocations: 1.148 MB / 1.4 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0009617/0.5152, allocations: 348 kB / 1.4 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5152, allocations: 0 / 1.4 GB, free: 3.145 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.5155, allocations: 96.31 kB / 1.4 GB, free: 3.051 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.5159, allocations: 85.56 kB / 1.4 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001804/0.5178, allocations: 1.946 MB / 1.402 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5181, allocations: 0.7836 MB / 1.403 GB, free: 116 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000399/0.5185, allocations: 83.22 kB / 1.403 GB, free: 32 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4199/0.9385, allocations: 80.42 kB / 1.403 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of SimCode: time 1.232e-06/0.9385, allocations: 0 / 1.403 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03031/0.9688, allocations: 11.07 MB / 1.414 GB, free: 169.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.969, allocations: 190.1 kB / 1.414 GB, free: 169 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.167/3.136, allocations: 0 / 1.414 GB, free: 169 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat does not exist to compare? outputFormat=mat