Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_latest_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.001582/0.001582, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.723/2.723, allocations: 469.4 MB / 0.742 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001322, allocations: 62.97 kB / 0.9083 GB, free: 34.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3247, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003802/0.3286, allocations: 2.305 MB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005896/0.3345, allocations: 3.779 MB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.3348, allocations: 11.94 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00579/0.3406, allocations: 3.002 MB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009882/0.3417, allocations: 402.5 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.3429, allocations: 0.4951 MB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004267/0.3472, allocations: 3.105 MB / 1.076 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3473, allocations: 40.69 kB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003668/0.3477, allocations: 207.3 kB / 1.077 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.348, allocations: 203.2 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.191e-05/0.3481, allocations: 23.94 kB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3493, allocations: 0.7408 MB / 1.078 GB, free: 248 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002178/0.3495, allocations: 219.3 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002798/0.3498, allocations: 250.6 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.3514, allocations: 1.048 MB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3514, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3514, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.3514, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.001785/0.3532, allocations: 0.9112 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.3533, allocations: 15.97 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.3533, allocations: 42.75 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.3547, allocations: 208 kB / 1.08 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00657/0.3613, allocations: 3.569 MB / 1.084 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/0.3614, allocations: 12 kB / 1.084 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.3615, allocations: 12 kB / 1.084 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/0.3621, allocations: 262.9 kB / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.3621, allocations: 0 / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.3622, allocations: 7.938 kB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3622, allocations: 4 kB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007188/0.3629, allocations: 231.8 kB / 1.084 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3646, allocations: 0.8241 MB / 1.085 GB, free: 8.488 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.3654, allocations: 314.4 kB / 1.085 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.3658, allocations: 128.8 kB / 1.085 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.3658, allocations: 7.984 kB / 1.085 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3659, allocations: 30.56 kB / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=10): time 1.473e-06/0.3659, allocations: 0 / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.001334/0.3672, allocations: 448.6 kB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.3673, allocations: 59.28 kB / 1.086 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.3683, allocations: 0.7499 MB / 1.087 GB, free: 6.723 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.3683, allocations: 33.69 kB / 1.087 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.3686, allocations: 236.6 kB / 1.087 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.553e-05/0.3686, allocations: 35.55 kB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002411/0.3689, allocations: 166.2 kB / 1.087 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.3691, allocations: 374.8 kB / 1.088 GB, free: 5.871 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007511/0.3698, allocations: 442.9 kB / 1.088 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000847/0.3707, allocations: 0.5316 MB / 1.088 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.3721, allocations: 0.8702 MB / 1.089 GB, free: 3.977 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3721, allocations: 3.938 kB / 1.089 GB, free: 3.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001811/0.3739, allocations: 1.073 MB / 1.09 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.374, allocations: 8 kB / 1.09 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.374, allocations: 0 / 1.09 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.374, allocations: 4 kB / 1.09 GB, free: 2.883 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005137/0.3745, allocations: 107.9 kB / 1.09 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.3745, allocations: 7.984 kB / 1.09 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004498/0.375, allocations: 79.33 kB / 1.091 GB, free: 2.691 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.3751, allocations: 32 kB / 1.091 GB, free: 2.66 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008463/0.3759, allocations: 0.5442 MB / 1.091 GB, free: 2.113 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007329/0.3767, allocations: 472.4 kB / 1.092 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001256/0.3779, allocations: 0.7276 MB / 1.092 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.03e-06/0.378, allocations: 4 kB / 1.092 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001657/0.3796, allocations: 0.9223 MB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3796, allocations: 5.562 kB / 1.093 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3797, allocations: 4 kB / 1.093 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3797, allocations: 4 kB / 1.093 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.3801, allocations: 107.8 kB / 1.093 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.3802, allocations: 4 kB / 1.093 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3806, allocations: 67.64 kB / 1.093 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.3807, allocations: 24 kB / 1.093 GB, free: 15.72 MB / 0.8575 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001678/0.3809, allocations: 210.3 kB / 1.094 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/0.381, allocations: 59.19 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.382, allocations: 358.8 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.382, allocations: 0 / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.382, allocations: 3.938 kB / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.382, allocations: 0 / 1.094 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004968/0.3825, allocations: 409.2 kB / 1.094 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3825, allocations: 0 / 1.094 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.3828, allocations: 47.95 kB / 1.094 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3828, allocations: 0 / 1.094 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3829, allocations: 4 kB / 1.094 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3829, allocations: 3.938 kB / 1.094 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3829, allocations: 0 / 1.094 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009254/0.3838, allocations: 434.5 kB / 1.095 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.384, allocations: 152.3 kB / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.587e-05/0.3841, allocations: 0 / 1.095 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/0.3844, allocations: 19.97 kB / 1.095 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.3845, allocations: 15.98 kB / 1.095 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.3845, allocations: 8 kB / 1.095 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0006023/0.3851, allocations: 0.5068 MB / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3851, allocations: 0 / 1.096 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009401/0.386, allocations: 315.8 kB / 1.096 GB, free: 13.12 MB / 0.8575 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 (11): * Single equations (assignments): 11 * 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.001961/0.388, allocations: 1.225 MB / 1.097 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002109/0.3901, allocations: 1.153 MB / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3902, allocations: 0 / 1.098 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.3906, allocations: 132.3 kB / 1.098 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009781/0.3915, allocations: 209.4 kB / 1.098 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008926/0.4005, allocations: 6.096 MB / 1.104 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.401, allocations: 0.8934 MB / 1.105 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0007325/0.4017, allocations: 196.2 kB / 1.106 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.4021, allocations: 199.3 kB / 1.106 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of SimCode: time 2.124e-06/0.4021, allocations: 0 / 1.106 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04106/0.4431, allocations: 17.44 MB / 1.123 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.127/8.571, allocations: 8.406 kB / 1.123 GB, free: 1.672 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches