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.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.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.0009571/0.000957, allocations: 100.5 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.0009166/0.0009166, allocations: 177.3 kB / 15.94 MB, free: 228 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.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.234 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.368/2.368, allocations: 390.3 MB / 0.6653 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 8 kB / 0.8146 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7462, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002318/0.7486, allocations: 1.671 MB / 0.9552 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002922/0.7516, allocations: 1.858 MB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002892/0.7519, allocations: 3.062 kB / 0.957 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.7525, allocations: 157.5 kB / 0.9572 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007953/0.7533, allocations: 229.3 kB / 0.9574 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.7543, allocations: 376.3 kB / 0.9578 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006991/0.7551, allocations: 285.5 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.7552, allocations: 28.06 kB / 0.9581 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003038/0.7555, allocations: 131.9 kB / 0.9582 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.7558, allocations: 129.5 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.7559, allocations: 7.5 kB / 0.9583 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.7566, allocations: 302.3 kB / 0.9586 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.7568, allocations: 82.28 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.609e-05/0.7568, allocations: 67.45 kB / 0.9588 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006574/0.7575, allocations: 407 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.7575, allocations: 0 / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.216e-06/0.7575, allocations: 1.375 kB / 0.9591 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.7576, allocations: 0 / 0.9591 GB, free: 4.012 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.001326/0.7589, allocations: 0.5596 MB / 0.9597 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.7589, allocations: 13.34 kB / 0.9597 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.325e-05/0.759, allocations: 40.83 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7601, allocations: 139.6 kB / 0.9599 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007208/0.7609, allocations: 326 kB / 0.9602 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.7609, allocations: 4.062 kB / 0.9602 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.504e-05/0.761, allocations: 11.06 kB / 0.9602 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006612/0.7616, allocations: 208.7 kB / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.7616, allocations: 0 / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.7617, allocations: 1.625 kB / 0.9604 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.7617, allocations: 5.922 kB / 0.9604 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008205/0.7625, allocations: 216 kB / 0.9606 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.7638, allocations: 0.5555 MB / 0.9612 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.7645, allocations: 218.1 kB / 0.9614 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.7646, allocations: 2 kB / 0.9614 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.7646, allocations: 35.64 kB / 0.9614 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.7646, allocations: 0 / 0.9614 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001364/0.766, allocations: 358.3 kB / 0.9617 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.766, allocations: 53.62 kB / 0.9618 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/0.7665, allocations: 340.8 kB / 0.9621 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.7665, allocations: 26.77 kB / 0.9621 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.7666, allocations: 157.1 kB / 0.9623 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.7667, allocations: 26.56 kB / 0.9623 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.624e-05/0.7667, allocations: 4.969 kB / 0.9623 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7669, allocations: 346.9 kB / 0.9627 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004516/0.7673, allocations: 121.8 kB / 0.9628 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/0.7678, allocations: 166.7 kB / 0.9629 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.7682, allocations: 125.8 kB / 0.963 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.7682, allocations: 7.906 kB / 0.9631 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009933/0.7692, allocations: 339.6 kB / 0.9634 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/0.7695, allocations: 0.6999 MB / 0.9641 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.7695, allocations: 2.75 kB / 0.9641 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7695, allocations: 6.438 kB / 0.9641 GB, free: 96 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.7699, allocations: 65.95 kB / 0.9641 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.7699, allocations: 7.453 kB / 0.9641 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.7703, allocations: 45.98 kB / 0.9642 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/0.7703, allocations: 18.3 kB / 0.9642 GB, free: 40 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.7704, allocations: 4.562 kB / 0.9642 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001042/0.7714, allocations: 328.6 kB / 0.9645 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7714, allocations: 1.719 kB / 0.9645 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.495e-06/0.7714, allocations: 3.094 kB / 0.9645 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.7718, allocations: 64.92 kB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.7718, allocations: 2.094 kB / 0.9646 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.7721, allocations: 40.84 kB / 0.9646 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.565e-05/0.7722, allocations: 18.36 kB / 0.9646 GB, free: 15.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002673/0.7724, allocations: 232.6 kB / 0.9649 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.813e-05/0.7725, allocations: 22.84 kB / 0.9649 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.7735, allocations: 290.4 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7735, allocations: 0.6875 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7736, allocations: 0.6875 kB / 0.9652 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7736, allocations: 8.766 kB / 0.9652 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.774, allocations: 296.7 kB / 0.9655 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.774, allocations: 0 / 0.9655 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.7743, allocations: 42.92 kB / 0.9655 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.7743, allocations: 1.031 kB / 0.9655 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.7743, allocations: 2.062 kB / 0.9655 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7743, allocations: 7.984 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.7744, allocations: 1.406 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009091/0.7753, allocations: 361.3 kB / 0.9659 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001863/0.7755, allocations: 117.8 kB / 0.966 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.7755, allocations: 5.031 kB / 0.966 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002659/0.7758, allocations: 33.31 kB / 0.966 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.7759, allocations: 8 kB / 0.966 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.7759, allocations: 7.328 kB / 0.966 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003152/0.7762, allocations: 237.7 kB / 0.9662 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7762, allocations: 1.094 kB / 0.9662 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007815/0.777, allocations: 149.6 kB / 0.9664 GB, free: 14.6 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 (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.00167/0.7787, allocations: 0.9986 MB / 0.9674 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.7802, allocations: 417.1 kB / 0.9678 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7802, allocations: 4 kB / 0.9678 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.7807, allocations: 113.8 kB / 0.9679 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.7812, allocations: 94.08 kB / 0.968 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/0.7835, allocations: 1.955 MB / 0.9699 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.7839, allocations: 0.7788 MB / 0.9706 GB, free: 11 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003685/0.7843, allocations: 74.67 kB / 0.9707 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.7845, allocations: 82 kB / 0.9708 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of SimCode: time 5.31e-07/0.7845, allocations: 0 / 0.9708 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/0.8086, allocations: 8.997 MB / 0.9796 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/0.8089, allocations: 198.6 kB / 0.9798 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.767, allocations: 0 / 0.9798 GB, free: 4.957 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/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