Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.PowerInterface,fileNamePrefix="Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.289/2.289, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001334/0.001334, allocations: 188.3 kB / 498.1 MB, free: 5.734 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.477/1.477, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009401/0.0009395, allocations: 108.2 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003683/0.0003683, allocations: 10.38 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2613, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.4368, allocations: 150.2 MB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4372, allocations: 75.95 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009137/0.4463, allocations: 3.241 MB / 1.373 GB, free: 8.453 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4464, allocations: 4 kB / 1.373 GB, free: 8.449 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4464, allocations: 0 / 1.373 GB, free: 8.449 MB / 0.8698 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.0005015/0.4469, allocations: 391.1 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.447, allocations: 8.031 kB / 1.373 GB, free: 8.012 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.447, allocations: 54.67 kB / 1.373 GB, free: 7.949 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008134/0.4478, allocations: 95.7 kB / 1.373 GB, free: 7.855 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.448, allocations: 175 kB / 1.374 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.448, allocations: 8 kB / 1.374 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.4481, allocations: 4 kB / 1.374 GB, free: 7.633 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.4486, allocations: 165.5 kB / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.4486, allocations: 0 / 1.374 GB, free: 7.465 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.4487, allocations: 4 kB / 1.374 GB, free: 7.461 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4487, allocations: 3.938 kB / 1.374 GB, free: 7.457 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008124/0.4495, allocations: 175.8 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.4506, allocations: 456.3 kB / 1.374 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007213/0.4513, allocations: 158.4 kB / 1.374 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4514, allocations: 7.922 kB / 1.374 GB, free: 6.617 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4514, allocations: 38.62 kB / 1.375 GB, free: 6.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.4514, allocations: 4 kB / 1.375 GB, free: 6.566 MB / 0.8698 GB Notification: Performance of matching and sorting (n=5): time 0.001259/0.4527, allocations: 281.4 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4527, allocations: 51.41 kB / 1.375 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.4529, allocations: 148 kB / 1.375 GB, free: 6.074 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.4529, allocations: 25.7 kB / 1.375 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.633e-05/0.453, allocations: 104 kB / 1.375 GB, free: 5.938 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.453, allocations: 11.81 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.453, allocations: 4 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4531, allocations: 318.8 kB / 1.375 GB, free: 5.602 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.4535, allocations: 83.92 kB / 1.375 GB, free: 5.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003798/0.4539, allocations: 79.92 kB / 1.376 GB, free: 5.441 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.4543, allocations: 75.89 kB / 1.376 GB, free: 5.367 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4543, allocations: 4 kB / 1.376 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00084/0.4552, allocations: 213.4 kB / 1.376 GB, free: 5.148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.933e-05/0.4552, allocations: 97 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.4552, allocations: 0 / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.4553, allocations: 0 / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.4556, allocations: 47.94 kB / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4556, allocations: 0 / 1.376 GB, free: 5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.4559, allocations: 35.81 kB / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.4559, allocations: 240 / 1.376 GB, free: 4.965 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.4559, allocations: 4.625 kB / 1.376 GB, free: 4.961 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00021/0.4561, allocations: 87.88 kB / 1.376 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-06/0.4561, allocations: 0 / 1.376 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-06/0.4561, allocations: 0 / 1.376 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.4562, allocations: 23.92 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-06/0.4562, allocations: 4 kB / 1.376 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.4563, allocations: 11.98 kB / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.4563, allocations: 0 / 1.376 GB, free: 4.836 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 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.0001291/0.4564, allocations: 189.1 kB / 1.376 GB, free: 4.641 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.4565, allocations: 15.77 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.4565, allocations: 16.3 kB / 1.376 GB, free: 4.605 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4566, allocations: 4 kB / 1.376 GB, free: 4.602 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4566, allocations: 3.984 kB / 1.376 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4566, allocations: 3.938 kB / 1.376 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.4577, allocations: 0.4924 MB / 1.377 GB, free: 4.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.4577, allocations: 4 kB / 1.377 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.458, allocations: 44 kB / 1.377 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.295e-06/0.458, allocations: 4 kB / 1.377 GB, free: 3.988 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.458, allocations: 3.938 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.4581, allocations: 0 / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.4581, allocations: 11.92 kB / 1.377 GB, free: 3.973 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008716/0.4589, allocations: 336.4 kB / 1.377 GB, free: 3.609 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.718e-05/0.459, allocations: 96.98 kB / 1.377 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.4591, allocations: 0 / 1.377 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.4594, allocations: 35.97 kB / 1.377 GB, free: 3.461 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.117e-05/0.4594, allocations: 3.984 kB / 1.377 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.4594, allocations: 4 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.204e-05/0.4595, allocations: 119.2 kB / 1.377 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4595, allocations: 0 / 1.377 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003073/0.4598, allocations: 39.86 kB / 1.378 GB, free: 3.297 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001248/0.4611, allocations: 1.003 MB / 1.379 GB, free: 2.254 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008924/0.462, allocations: 211.8 kB / 1.379 GB, free: 2.047 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.462, allocations: 4 kB / 1.379 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.4624, allocations: 87.98 kB / 1.379 GB, free: 1.957 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.4626, allocations: 11.89 kB / 1.379 GB, free: 1.945 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002657/0.4653, allocations: 0.9217 MB / 1.38 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.4656, allocations: 0.7004 MB / 1.38 GB, free: 240 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 9.802e-05/0.4657, allocations: 12 kB / 1.38 GB, free: 228 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.4658, allocations: 31.41 kB / 1.38 GB, free: 196 kB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.4658, allocations: 0 / 1.38 GB, free: 196 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01371/0.4795, allocations: 2.391 MB / 1.383 GB, free: 13.94 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/0.4798, allocations: 190.8 kB / 1.383 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.016, allocations: 5.828 kB / 1.383 GB, free: 13.69 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.mat does not exist to compare? outputFormat=mat