Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="Buildings_10_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.001087/0.001087, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009667/0.009667, allocations: 170 kB / 16.26 MB, free: 6.613 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.502/1.502, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.565/2.565, allocations: 437.8 MB / 0.7121 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004248, allocations: 12 kB / 0.8729 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.723/0.7234, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003093/0.7266, allocations: 2.011 MB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007025/0.7336, allocations: 3.817 MB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004598/0.7342, allocations: 4 kB / 1.029 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00624/0.7404, allocations: 2.968 MB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.7416, allocations: 358.8 kB / 1.032 GB, free: 6.648 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.7429, allocations: 459.2 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 1.0}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.004897/0.7479, allocations: 3.377 MB / 1.036 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.7481, allocations: 48.72 kB / 1.036 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004037/0.7485, allocations: 175.3 kB / 1.036 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.7489, allocations: 227.1 kB / 1.036 GB, free: 2.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.749, allocations: 16 kB / 1.036 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.7506, allocations: 0.7642 MB / 1.037 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.7508, allocations: 207.4 kB / 1.037 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.7512, allocations: 260.3 kB / 1.037 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.7531, allocations: 1.047 MB / 1.038 GB, free: 76 kB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7531, allocations: 0 / 1.038 GB, free: 76 kB / 0.7794 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7531, allocations: 0 / 1.038 GB, free: 76 kB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.7531, allocations: 0 / 1.038 GB, free: 76 kB / 0.7794 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.001777/0.7549, allocations: 0.8362 MB / 1.039 GB, free: 15.19 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.755, allocations: 12.03 kB / 1.039 GB, free: 15.18 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.518e-05/0.755, allocations: 34.75 kB / 1.039 GB, free: 15.13 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/0.7564, allocations: 224 kB / 1.04 GB, free: 14.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006215/0.7626, allocations: 3.561 MB / 1.043 GB, free: 11.31 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.7627, allocations: 11.98 kB / 1.043 GB, free: 11.3 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.925e-05/0.7628, allocations: 15.94 kB / 1.043 GB, free: 11.28 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006228/0.7634, allocations: 265.9 kB / 1.043 GB, free: 11.02 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.7635, allocations: 3.984 kB / 1.043 GB, free: 11.01 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.7635, allocations: 8 kB / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.7635, allocations: 0 / 1.043 GB, free: 11 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007415/0.7643, allocations: 247.8 kB / 1.044 GB, free: 10.76 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.7659, allocations: 0.8279 MB / 1.044 GB, free: 9.883 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007803/0.7667, allocations: 310.4 kB / 1.045 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.7672, allocations: 132.8 kB / 1.045 GB, free: 9.438 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.7672, allocations: 4 kB / 1.045 GB, free: 9.434 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7673, allocations: 34.5 kB / 1.045 GB, free: 9.391 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 2.395e-06/0.7673, allocations: 0 / 1.045 GB, free: 9.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.001417/0.7687, allocations: 472.6 kB / 1.045 GB, free: 8.922 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.7687, allocations: 51.41 kB / 1.045 GB, free: 8.859 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009362/0.7697, allocations: 0.7538 MB / 1.046 GB, free: 8.098 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.71e-05/0.7697, allocations: 33.69 kB / 1.046 GB, free: 8.059 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.77, allocations: 236.7 kB / 1.046 GB, free: 7.824 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.77, allocations: 35.55 kB / 1.046 GB, free: 7.789 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.7701, allocations: 93.66 kB / 1.046 GB, free: 7.691 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.7703, allocations: 374.8 kB / 1.047 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.771, allocations: 441.2 kB / 1.047 GB, free: 6.883 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007939/0.7718, allocations: 0.5278 MB / 1.048 GB, free: 6.324 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.7732, allocations: 0.878 MB / 1.049 GB, free: 5.422 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.7733, allocations: 7.938 kB / 1.049 GB, free: 5.414 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001788/0.775, allocations: 1.084 MB / 1.05 GB, free: 4.324 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.7752, allocations: 148.2 kB / 1.05 GB, free: 4.148 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.7752, allocations: 4 kB / 1.05 GB, free: 4.145 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.7752, allocations: 11.94 kB / 1.05 GB, free: 4.133 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.7757, allocations: 115.8 kB / 1.05 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.7758, allocations: 7.984 kB / 1.05 GB, free: 4.012 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005254/0.7763, allocations: 79.34 kB / 1.05 GB, free: 3.934 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.7764, allocations: 35.98 kB / 1.05 GB, free: 3.898 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.7764, allocations: 9.969 kB / 1.05 GB, free: 3.891 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001487/0.7779, allocations: 0.8627 MB / 1.051 GB, free: 3.027 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.7779, allocations: 4 kB / 1.051 GB, free: 3.023 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.472e-06/0.7779, allocations: 4 kB / 1.051 GB, free: 3.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.7783, allocations: 103.9 kB / 1.051 GB, free: 2.918 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.7784, allocations: 8 kB / 1.051 GB, free: 2.91 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.7788, allocations: 55.66 kB / 1.051 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.136e-05/0.7788, allocations: 27.98 kB / 1.051 GB, free: 2.828 MB / 0.795 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.0003468/0.7792, allocations: 312.9 kB / 1.051 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.7793, allocations: 59.19 kB / 1.051 GB, free: 2.453 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.7803, allocations: 362.9 kB / 1.052 GB, free: 2.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.7804, allocations: 4 kB / 1.052 GB, free: 2.086 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7804, allocations: 4 kB / 1.052 GB, free: 2.082 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7804, allocations: 7.922 kB / 1.052 GB, free: 2.074 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.781, allocations: 413.2 kB / 1.052 GB, free: 1.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.781, allocations: 3.938 kB / 1.052 GB, free: 1.617 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.7813, allocations: 43.91 kB / 1.052 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.7813, allocations: 0 / 1.052 GB, free: 1.574 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.7813, allocations: 11.98 kB / 1.052 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.7813, allocations: 0 / 1.052 GB, free: 1.562 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7813, allocations: 3.938 kB / 1.052 GB, free: 1.559 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000908/0.7822, allocations: 442.7 kB / 1.053 GB, free: 1.109 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.7824, allocations: 152.3 kB / 1.053 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.7825, allocations: 4 kB / 1.053 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.7828, allocations: 19.98 kB / 1.053 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.7829, allocations: 15.92 kB / 1.053 GB, free: 0.9023 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.783, allocations: 15.92 kB / 1.053 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006934/0.7837, allocations: 0.5029 MB / 1.053 GB, free: 400 kB / 0.795 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7837, allocations: 0 / 1.053 GB, free: 400 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.001208/0.7849, allocations: 315.9 kB / 1.054 GB, free: 84 kB / 0.795 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.002255/0.7871, allocations: 1.227 MB / 1.055 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002247/0.7894, allocations: 1.162 MB / 1.056 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7894, allocations: 4 kB / 1.056 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003718/0.7898, allocations: 144.3 kB / 1.056 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.7909, allocations: 187.1 kB / 1.056 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.8011, allocations: 6.212 MB / 1.062 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.8016, allocations: 0.898 MB / 1.063 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0007678/0.8024, allocations: 192.2 kB / 1.063 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.8028, allocations: 199.3 kB / 1.064 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of SimCode: time 1.673e-06/0.8028, allocations: 0 / 1.064 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03729/0.8401, allocations: 16.75 MB / 1.08 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.8404, allocations: 221.5 kB / 1.08 GB, free: 5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.158, allocations: 0 / 1.08 GB, free: 5 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches