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.00603/0.00603, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001112/0.001112, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 1.054 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 157.4 MB / 1.207 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.004089/0.3189, allocations: 2.315 MB / 1.21 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.006553/0.3254, allocations: 3.781 MB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003602/0.3258, allocations: 7.938 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.3293, allocations: 1.052 MB / 1.214 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.3305, allocations: 426.4 kB / 1.215 GB, free: 2.637 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.3317, allocations: 0.5042 MB / 1.215 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005004/0.3367, allocations: 3.156 MB / 1.218 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.3369, allocations: 40.73 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005168/0.3374, allocations: 227.3 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004426/0.3379, allocations: 211.2 kB / 1.219 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.643e-05/0.3379, allocations: 16 kB / 1.219 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.3393, allocations: 0.7603 MB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.3396, allocations: 207.4 kB / 1.22 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003133/0.3399, allocations: 258.5 kB / 1.22 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.3416, allocations: 1.063 MB / 1.221 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3416, allocations: 0 / 1.221 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3416, allocations: 0 / 1.221 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.86e-05/0.3416, allocations: 0 / 1.221 GB, free: 12.2 MB / 0.9825 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.001866/0.3435, allocations: 0.9176 MB / 1.222 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.3435, allocations: 8.625 kB / 1.222 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.572e-05/0.3436, allocations: 50.67 kB / 1.222 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.345, allocations: 208 kB / 1.222 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006344/0.3513, allocations: 3.588 MB / 1.226 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3514, allocations: 12 kB / 1.226 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.3514, allocations: 12 kB / 1.226 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005873/0.352, allocations: 265.4 kB / 1.226 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.352, allocations: 0 / 1.226 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.687e-05/0.3521, allocations: 4 kB / 1.226 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3521, allocations: 0 / 1.226 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006947/0.3528, allocations: 243.8 kB / 1.226 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.3543, allocations: 0.824 MB / 1.227 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006857/0.355, allocations: 302.6 kB / 1.227 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.3553, allocations: 124.8 kB / 1.227 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.3554, allocations: 11.97 kB / 1.227 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3554, allocations: 38.48 kB / 1.227 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3554, allocations: 0 / 1.227 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.001201/0.3566, allocations: 440.7 kB / 1.228 GB, free: 5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.3567, allocations: 51.41 kB / 1.228 GB, free: 4.938 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009455/0.3576, allocations: 0.7655 MB / 1.229 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.3577, allocations: 29.7 kB / 1.229 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.3579, allocations: 232.8 kB / 1.229 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.3579, allocations: 35.45 kB / 1.229 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/0.3582, allocations: 166 kB / 1.229 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3583, allocations: 370.8 kB / 1.229 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.359, allocations: 439 kB / 1.23 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.3598, allocations: 0.5278 MB / 1.23 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.3611, allocations: 0.8624 MB / 1.231 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3611, allocations: 0 / 1.231 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001694/0.3628, allocations: 1.08 MB / 1.232 GB, free: 368 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.3628, allocations: 5.719 kB / 1.232 GB, free: 364 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3628, allocations: 4.375 kB / 1.232 GB, free: 360 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.3629, allocations: 4 kB / 1.232 GB, free: 356 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.3634, allocations: 103.9 kB / 1.232 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.3634, allocations: 11.98 kB / 1.232 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/0.3639, allocations: 79.28 kB / 1.232 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/0.3639, allocations: 28 kB / 1.232 GB, free: 132 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00085/0.3648, allocations: 0.5519 MB / 1.233 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006528/0.3655, allocations: 464.5 kB / 1.233 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/0.3665, allocations: 0.7237 MB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.3666, allocations: 0 / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001469/0.368, allocations: 0.9222 MB / 1.235 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3681, allocations: 4 kB / 1.235 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3681, allocations: 4 kB / 1.235 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.3681, allocations: 0 / 1.235 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.3685, allocations: 107.8 kB / 1.235 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.3686, allocations: 7.984 kB / 1.235 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.369, allocations: 67.66 kB / 1.235 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-05/0.3691, allocations: 27.98 kB / 1.235 GB, free: 13.2 MB / 0.9981 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.0001724/0.3693, allocations: 200.1 kB / 1.235 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.581e-05/0.3694, allocations: 51.25 kB / 1.235 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009257/0.3703, allocations: 358.8 kB / 1.236 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.3703, allocations: 0 / 1.236 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3703, allocations: 7.938 kB / 1.236 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3703, allocations: 0 / 1.236 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.3709, allocations: 413.3 kB / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3709, allocations: 0 / 1.236 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.3711, allocations: 51.89 kB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3711, allocations: 0 / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3712, allocations: 0 / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.3712, allocations: 4 kB / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3712, allocations: 0 / 1.236 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.372, allocations: 426.5 kB / 1.237 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.3722, allocations: 156.3 kB / 1.237 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.143e-05/0.3723, allocations: 0 / 1.237 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3726, allocations: 19.98 kB / 1.237 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.3726, allocations: 15.92 kB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3726, allocations: 11.98 kB / 1.237 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006192/0.3733, allocations: 0.5068 MB / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3733, allocations: 4 kB / 1.237 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009277/0.3742, allocations: 311.8 kB / 1.238 GB, free: 10.6 MB / 0.9981 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.001884/0.3761, allocations: 1.223 MB / 1.239 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001964/0.3781, allocations: 1.133 MB / 1.24 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.3781, allocations: 4 kB / 1.24 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.3784, allocations: 128.4 kB / 1.24 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009227/0.3794, allocations: 205.6 kB / 1.24 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008633/0.388, allocations: 6.054 MB / 1.246 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.3886, allocations: 0.9013 MB / 1.247 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006142/0.3892, allocations: 192.3 kB / 1.247 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.3896, allocations: 195.4 kB / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of SimCode: time 1.103e-06/0.3896, allocations: 0 / 1.247 GB, free: 416 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6262/1.016, allocations: 17.79 MB / 1.265 GB, free: 38.49 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.1/10.12, allocations: 21.66 kB / 1.265 GB, free: 38.48 MB / 0.9981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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