Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.362/2.362, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001832/0.001832, allocations: 182.9 kB / 0.4901 GB, free: 2.234 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.624/1.624, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001194/0.001193, allocations: 97.14 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004406, allocations: 10.78 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2012/0.5418, allocations: 151.1 MB / 1.377 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5421, allocations: 87.92 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01073/0.5529, allocations: 3.395 MB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5529, allocations: 4 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.553, allocations: 0 / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006596/0.5536, allocations: 399 kB / 1.381 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.5537, allocations: 8.562 kB / 1.381 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.78e-05/0.5538, allocations: 42.55 kB / 1.381 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001213/0.555, allocations: 135.7 kB / 1.381 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.5552, allocations: 183 kB / 1.381 GB, free: 14 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.18e-05/0.5552, allocations: 8 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.5553, allocations: 8 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.556, allocations: 179.1 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.556, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.91e-05/0.556, allocations: 0 / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.5561, allocations: 4 kB / 1.381 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.5571, allocations: 211.8 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.5585, allocations: 492.1 kB / 1.382 GB, free: 13.06 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.5597, allocations: 214.3 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.5597, allocations: 4 kB / 1.382 GB, free: 12.84 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.5598, allocations: 34.72 kB / 1.382 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 4.699e-06/0.5598, allocations: 3.984 kB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.001274/0.5611, allocations: 261.4 kB / 1.382 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5611, allocations: 59.34 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.5614, allocations: 172.5 kB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.5615, allocations: 25.7 kB / 1.383 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.5616, allocations: 107.9 kB / 1.383 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.5616, allocations: 11.84 kB / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5616, allocations: 0 / 1.383 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.5618, allocations: 326.8 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004643/0.5622, allocations: 91.91 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004881/0.5627, allocations: 118.5 kB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.5632, allocations: 83.92 kB / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5632, allocations: 0 / 1.383 GB, free: 11.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001065/0.5643, allocations: 241.4 kB / 1.384 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.5644, allocations: 275 kB / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5645, allocations: 0 / 1.384 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.5645, allocations: 4 kB / 1.384 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.5649, allocations: 51.88 kB / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.5649, allocations: 160 / 1.384 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.5654, allocations: 51.84 kB / 1.384 GB, free: 10.87 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.5654, allocations: 11.98 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.5654, allocations: 0 / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003932/0.5658, allocations: 99.86 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.5658, allocations: 8.125 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/0.5659, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.566, allocations: 35.97 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.5661, allocations: 0 / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.5663, allocations: 23.83 kB / 1.384 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.5663, allocations: 11.98 kB / 1.384 GB, free: 10.68 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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.0001701/0.5665, allocations: 197 kB / 1.384 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.5665, allocations: 7.906 kB / 1.384 GB, free: 10.47 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.075e-05/0.5666, allocations: 12.25 kB / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5666, allocations: 0 / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5666, allocations: 0 / 1.384 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.5666, allocations: 3.984 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002682/0.5669, allocations: 217.5 kB / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.5669, allocations: 0 / 1.384 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.5672, allocations: 39.94 kB / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.5672, allocations: 4 kB / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.5673, allocations: 0 / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.5673, allocations: 0 / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5673, allocations: 4 kB / 1.385 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.5682, allocations: 283.2 kB / 1.385 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.5683, allocations: 96.98 kB / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.5683, allocations: 0 / 1.385 GB, free: 9.738 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.5687, allocations: 35.97 kB / 1.385 GB, free: 9.703 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.5687, allocations: 7.922 kB / 1.385 GB, free: 9.695 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.5688, allocations: 4 kB / 1.385 GB, free: 9.691 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002097/0.569, allocations: 148.7 kB / 1.385 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.569, allocations: 0 / 1.385 GB, free: 9.547 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003693/0.5693, allocations: 36 kB / 1.385 GB, free: 9.512 MB / 0.8855 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 (3): * Single equations (assignments): 3 * 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.001267/0.5706, allocations: 0.8184 MB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.5718, allocations: 231.9 kB / 1.386 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5718, allocations: 0 / 1.386 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004023/0.5722, allocations: 83.97 kB / 1.386 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.5725, allocations: 4.781 kB / 1.386 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.5759, allocations: 1.243 MB / 1.387 GB, free: 7.055 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.5762, allocations: 0.7043 MB / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002094/0.5764, allocations: 27.98 kB / 1.388 GB, free: 6.297 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.5766, allocations: 31.41 kB / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of SimCode: time 8.11e-07/0.5766, allocations: 0 / 1.388 GB, free: 6.266 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01771/0.5943, allocations: 2.662 MB / 1.391 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/0.5946, allocations: 194.6 kB / 1.391 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.466, allocations: 0 / 1.391 GB, free: 3.516 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat