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.0008292/0.0008294, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.000904/0.000904, allocations: 172.7 kB / 15.95 MB, free: 208 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.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.445 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.452/2.452, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003284, allocations: 20 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6994/0.6998, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.002726/0.7025, allocations: 1.687 MB / 0.9555 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.7057, allocations: 1.867 MB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002314/0.706, allocations: 3.812 kB / 0.9573 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.7065, allocations: 154.5 kB / 0.9575 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0008239/0.7074, allocations: 252 kB / 0.9577 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.7084, allocations: 379.7 kB / 0.9581 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.709, allocations: 498.3 kB / 0.9586 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.7092, allocations: 35.5 kB / 0.9586 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.7094, allocations: 152.5 kB / 0.9587 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.7096, allocations: 170.8 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.7097, allocations: 7.188 kB / 0.9589 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005505/0.7102, allocations: 315.5 kB / 0.9592 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.7103, allocations: 89.84 kB / 0.9593 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.225e-05/0.7104, allocations: 72.92 kB / 0.9594 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004882/0.7109, allocations: 410.3 kB / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.7109, allocations: 0 / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7109, allocations: 0 / 0.9598 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.7109, allocations: 1.281 kB / 0.9598 GB, free: 3.82 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.0007511/0.7117, allocations: 0.5556 MB / 0.9603 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.7117, allocations: 9.625 kB / 0.9603 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.732e-05/0.7118, allocations: 41.3 kB / 0.9603 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.7126, allocations: 146.2 kB / 0.9605 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.713, allocations: 322.6 kB / 0.9608 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.713, allocations: 8 kB / 0.9608 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.7131, allocations: 12.06 kB / 0.9608 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005402/0.7136, allocations: 200 kB / 0.961 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.7137, allocations: 1.031 kB / 0.961 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.7137, allocations: 1 kB / 0.961 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7137, allocations: 4.922 kB / 0.961 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006749/0.7144, allocations: 220.7 kB / 0.9612 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009/0.7153, allocations: 0.5405 MB / 0.9617 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.7159, allocations: 218 kB / 0.962 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.7163, allocations: 105.3 kB / 0.9621 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.7163, allocations: 1.562 kB / 0.9621 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.7163, allocations: 32.34 kB / 0.9621 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.763e-06/0.7163, allocations: 0 / 0.9621 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.001193/0.7175, allocations: 366.3 kB / 0.9624 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.7176, allocations: 52.78 kB / 0.9625 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.7179, allocations: 332.4 kB / 0.9628 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.718, allocations: 30.8 kB / 0.9628 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7181, allocations: 153.1 kB / 0.963 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.882e-05/0.7181, allocations: 35.17 kB / 0.963 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/0.7182, allocations: 5.156 kB / 0.963 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7183, allocations: 341.9 kB / 0.9633 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.7187, allocations: 122.9 kB / 0.9635 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.7191, allocations: 178 kB / 0.9636 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/0.7195, allocations: 129.1 kB / 0.9638 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.7195, allocations: 1.188 kB / 0.9638 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008296/0.7203, allocations: 350.3 kB / 0.9641 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/0.7204, allocations: 135.6 kB / 0.9642 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7204, allocations: 2.25 kB / 0.9642 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.7204, allocations: 10.62 kB / 0.9642 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.7208, allocations: 69.48 kB / 0.9643 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.7208, allocations: 3.969 kB / 0.9643 GB, free: 436 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.7211, allocations: 40.88 kB / 0.9643 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/0.7212, allocations: 15.31 kB / 0.9644 GB, free: 412 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.7212, allocations: 4.125 kB / 0.9644 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008329/0.722, allocations: 321.6 kB / 0.9647 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.722, allocations: 2.406 kB / 0.9647 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.119e-06/0.722, allocations: 3.062 kB / 0.9647 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.7223, allocations: 68.05 kB / 0.9647 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7223, allocations: 7.047 kB / 0.9647 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.7226, allocations: 36.11 kB / 0.9648 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.752e-05/0.7226, allocations: 18.64 kB / 0.9648 GB, free: 224 kB / 0.7169 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.0001715/0.7228, allocations: 224.6 kB / 0.965 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.7229, allocations: 22.67 kB / 0.965 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009208/0.7238, allocations: 297.3 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.7238, allocations: 0.9688 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7238, allocations: 4.984 kB / 0.9653 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.7239, allocations: 0 / 0.9653 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.7242, allocations: 300.5 kB / 0.9656 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7243, allocations: 0 / 0.9656 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.7245, allocations: 47.23 kB / 0.9656 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.7245, allocations: 1.094 kB / 0.9657 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.7245, allocations: 2.062 kB / 0.9657 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.7245, allocations: 1 kB / 0.9657 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.7245, allocations: 0 / 0.9657 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.7254, allocations: 366.4 kB / 0.966 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.7255, allocations: 121.8 kB / 0.9661 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.7255, allocations: 1 kB / 0.9661 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.7258, allocations: 33.28 kB / 0.9662 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.7258, allocations: 4 kB / 0.9662 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.7259, allocations: 7.109 kB / 0.9662 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00029/0.7262, allocations: 238.1 kB / 0.9664 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7262, allocations: 0 / 0.9664 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007253/0.7269, allocations: 150.2 kB / 0.9665 GB, free: 14.96 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.00153/0.7284, allocations: 0.9937 MB / 0.9675 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.7297, allocations: 430.5 kB / 0.9679 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7297, allocations: 448 / 0.9679 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.7301, allocations: 108.4 kB / 0.968 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.7306, allocations: 104.5 kB / 0.9681 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003675/0.7343, allocations: 1.887 MB / 0.97 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.7348, allocations: 0.7661 MB / 0.9707 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003892/0.7352, allocations: 90.45 kB / 0.9708 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001749/0.7353, allocations: 86.72 kB / 0.9709 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/0.7353, allocations: 3.938 kB / 0.9709 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02322/0.7586, allocations: 9.163 MB / 0.9798 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003646/0.759, allocations: 211.9 kB / 0.98 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.946/2.705, allocations: 3.938 kB / 0.98 GB, free: 4.992 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