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/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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007608/0.0007608, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004615/0.004615, allocations: 170.1 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.287/2.287, allocations: 390.9 MB / 0.6664 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5658, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.001594/0.5674, allocations: 1.737 MB / 0.9569 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.5697, allocations: 2.012 MB / 0.9588 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.205e-05/0.5698, allocations: 7.438 kB / 0.9588 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005238/0.5703, allocations: 244.4 kB / 0.9591 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000455/0.5708, allocations: 262.8 kB / 0.9593 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.5714, allocations: 424.7 kB / 0.9597 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004694/0.5719, allocations: 0.5821 MB / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.234e-05/0.5719, allocations: 38.89 kB / 0.9603 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.5721, allocations: 148.5 kB / 0.9605 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001997/0.5723, allocations: 172.8 kB / 0.9606 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.5723, allocations: 6.688 kB / 0.9607 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000515/0.5729, allocations: 434.1 kB / 0.9611 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.673e-05/0.5729, allocations: 91.22 kB / 0.9612 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.665e-05/0.573, allocations: 137.2 kB / 0.9613 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.5735, allocations: 0.566 MB / 0.9618 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.5735, allocations: 0 / 0.9618 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5736, allocations: 0.9062 kB / 0.9618 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.5736, allocations: 0 / 0.9618 GB, free: 2.883 MB / 0.7169 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.0005986/0.5742, allocations: 0.5617 MB / 0.9624 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.5742, allocations: 9.719 kB / 0.9624 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.867e-05/0.5742, allocations: 40.94 kB / 0.9624 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008061/0.575, allocations: 135.8 kB / 0.9626 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.5754, allocations: 336.3 kB / 0.9629 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5754, allocations: 7.688 kB / 0.9629 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.5754, allocations: 12.44 kB / 0.9629 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.5759, allocations: 207.6 kB / 0.9631 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.5759, allocations: 1.094 kB / 0.9631 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.5759, allocations: 0 / 0.9631 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5759, allocations: 2.531 kB / 0.9631 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.5766, allocations: 216.5 kB / 0.9633 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000755/0.5774, allocations: 0.5496 MB / 0.9638 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.578, allocations: 209.9 kB / 0.964 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.5783, allocations: 112.8 kB / 0.9642 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.5784, allocations: 6.297 kB / 0.9642 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.298e-05/0.5784, allocations: 35.81 kB / 0.9642 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.5784, allocations: 0 / 0.9642 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001119/0.5795, allocations: 362.7 kB / 0.9645 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.5795, allocations: 56.19 kB / 0.9646 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.5798, allocations: 336.4 kB / 0.9649 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.5798, allocations: 30.42 kB / 0.9649 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.634e-05/0.5799, allocations: 149.8 kB / 0.9651 GB, free: 432 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.5799, allocations: 26.94 kB / 0.9651 GB, free: 408 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.58, allocations: 32.89 kB / 0.9651 GB, free: 376 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.517e-05/0.58, allocations: 342 kB / 0.9655 GB, free: 32 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004302/0.5805, allocations: 154.6 kB / 0.9656 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/0.5809, allocations: 203.6 kB / 0.9658 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.5818, allocations: 358 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5818, allocations: 1 kB / 0.9662 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009792/0.5828, allocations: 426.9 kB / 0.9666 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-05/0.5828, allocations: 142.4 kB / 0.9667 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.5829, allocations: 2.375 kB / 0.9667 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.5829, allocations: 2.594 kB / 0.9667 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/0.5832, allocations: 74.73 kB / 0.9668 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.5832, allocations: 6.891 kB / 0.9668 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.5835, allocations: 37.47 kB / 0.9668 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.5835, allocations: 15.03 kB / 0.9668 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.5835, allocations: 7.938 kB / 0.9668 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008725/0.5844, allocations: 318.5 kB / 0.9671 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-06/0.5844, allocations: 2.031 kB / 0.9671 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-06/0.5844, allocations: 3 kB / 0.9671 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.5847, allocations: 68.97 kB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.5847, allocations: 6.125 kB / 0.9672 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002424/0.585, allocations: 33.67 kB / 0.9673 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.585, allocations: 17.73 kB / 0.9673 GB, free: 15.05 MB / 0.7325 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 (19): * Single equations (assignments): 18 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.5852, allocations: 236.7 kB / 0.9675 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/0.5852, allocations: 30.22 kB / 0.9675 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/0.5861, allocations: 290.1 kB / 0.9678 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5861, allocations: 1.094 kB / 0.9678 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.5861, allocations: 1.125 kB / 0.9678 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5862, allocations: 3.938 kB / 0.9678 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.5865, allocations: 280.4 kB / 0.9681 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5865, allocations: 4.844 kB / 0.9681 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.5867, allocations: 46.81 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.5867, allocations: 1.031 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.5867, allocations: 2.062 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5868, allocations: 4.969 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5868, allocations: 3.984 kB / 0.9681 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.5876, allocations: 363 kB / 0.9685 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.5877, allocations: 122.3 kB / 0.9686 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.5877, allocations: 4 kB / 0.9686 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.588, allocations: 29.97 kB / 0.9686 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.208e-05/0.588, allocations: 3.375 kB / 0.9686 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.588, allocations: 11.83 kB / 0.9686 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002195/0.5882, allocations: 240.2 kB / 0.9689 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5883, allocations: 4 kB / 0.9689 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005139/0.5888, allocations: 154.1 kB / 0.969 GB, free: 13.78 MB / 0.7325 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001305/0.5901, allocations: 0.9752 MB / 0.97 GB, free: 13 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.5914, allocations: 466.3 kB / 0.9704 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5914, allocations: 4.062 kB / 0.9704 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000366/0.5918, allocations: 113.8 kB / 0.9705 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.5923, allocations: 96.42 kB / 0.9706 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004906/0.5972, allocations: 3.341 MB / 0.9739 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.5975, allocations: 0.7734 MB / 0.9746 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003127/0.5978, allocations: 86.64 kB / 0.9747 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001506/0.598, allocations: 85.53 kB / 0.9748 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.598, allocations: 1.375 kB / 0.9748 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.763/4.361, allocations: 8.983 MB / 0.9836 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/4.362, allocations: 213.4 kB / 0.9838 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/6.662, allocations: 0 / 0.9838 GB, free: 1.59 MB / 0.7325 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/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) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches