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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") translateModel(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eff.m_flow|eff.V_flow|eff.dp|eff.y_in|eff.WFlo|eff.PEle|eff.eta|eff.etaHyd|eff.etaMot",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 91.92 kB / 16.02 MB, free: 80 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.001719/0.001719, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.487/1.487, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.732/2.732, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003574, allocations: 10.66 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3551, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003183/0.3583, allocations: 2.006 MB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.007035/0.3654, allocations: 3.836 MB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003963/0.3658, allocations: 4 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006122/0.372, allocations: 2.968 MB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.3732, allocations: 354.8 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.3746, allocations: 457.8 kB / 1.069 GB, free: 11.36 MB / 0.8262 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.005576/0.3802, allocations: 3.389 MB / 1.072 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.3804, allocations: 40.75 kB / 1.072 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000453/0.3808, allocations: 179.3 kB / 1.072 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004755/0.3813, allocations: 223.1 kB / 1.072 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.056e-05/0.3814, allocations: 8 kB / 1.072 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001661/0.3831, allocations: 0.772 MB / 1.073 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.3834, allocations: 203.4 kB / 1.073 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003399/0.3838, allocations: 252.3 kB / 1.074 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.3849, allocations: 0.7053 MB / 1.074 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.385, allocations: 4 kB / 1.074 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/0.385, allocations: 0 / 1.074 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.385, allocations: 0 / 1.074 GB, free: 5.582 MB / 0.8262 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.001667/0.3867, allocations: 0.8185 MB / 1.075 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3867, allocations: 8.031 kB / 1.075 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.3881, allocations: 216 kB / 1.075 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002099/0.3902, allocations: 0.956 MB / 1.076 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.3903, allocations: 8 kB / 1.076 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.254e-05/0.3903, allocations: 12 kB / 1.076 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006103/0.3909, allocations: 262.2 kB / 1.077 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.391, allocations: 3.938 kB / 1.077 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.391, allocations: 8 kB / 1.077 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.391, allocations: 0 / 1.077 GB, free: 3.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.3917, allocations: 256.6 kB / 1.077 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.3934, allocations: 0.82 MB / 1.078 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.3942, allocations: 314.5 kB / 1.078 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.3946, allocations: 132.8 kB / 1.078 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.3946, allocations: 3.984 kB / 1.078 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3946, allocations: 38.56 kB / 1.078 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/0.3946, allocations: 0 / 1.078 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001314/0.396, allocations: 456.6 kB / 1.078 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.396, allocations: 59.39 kB / 1.079 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/0.397, allocations: 0.7268 MB / 1.079 GB, free: 332 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.397, allocations: 29.7 kB / 1.079 GB, free: 296 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3972, allocations: 236.7 kB / 1.08 GB, free: 56 kB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.3973, allocations: 39.44 kB / 1.08 GB, free: 16 kB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.3974, allocations: 97.59 kB / 1.08 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3976, allocations: 366.8 kB / 1.08 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007405/0.3984, allocations: 441.2 kB / 1.08 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008253/0.3992, allocations: 0.5355 MB / 1.081 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.4006, allocations: 0.8781 MB / 1.082 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.4006, allocations: 4 kB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001824/0.4025, allocations: 1.084 MB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.4026, allocations: 144.1 kB / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.4026, allocations: 0 / 1.083 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.4026, allocations: 4 kB / 1.083 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/0.4031, allocations: 119.8 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.4032, allocations: 7.938 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004719/0.4036, allocations: 79.34 kB / 1.083 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.4037, allocations: 35.98 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.005e-05/0.4037, allocations: 4 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001463/0.4052, allocations: 0.8549 MB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.4052, allocations: 4 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.747e-06/0.4052, allocations: 4 kB / 1.084 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004596/0.4057, allocations: 111.9 kB / 1.084 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.4057, allocations: 7.938 kB / 1.084 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.4061, allocations: 59.59 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.4062, allocations: 31.98 kB / 1.084 GB, free: 11.06 MB / 0.8419 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.0003574/0.4066, allocations: 305 kB / 1.085 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.4067, allocations: 55.19 kB / 1.085 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.4077, allocations: 378.5 kB / 1.085 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4077, allocations: 4 kB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4077, allocations: 0 / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4077, allocations: 0 / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005013/0.4082, allocations: 409.2 kB / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4082, allocations: 0 / 1.085 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.4085, allocations: 47.91 kB / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.4085, allocations: 0 / 1.085 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.4086, allocations: 11.98 kB / 1.085 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4086, allocations: 0 / 1.085 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4086, allocations: 0 / 1.085 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008934/0.4095, allocations: 434.7 kB / 1.086 GB, free: 9.363 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.4097, allocations: 156.2 kB / 1.086 GB, free: 9.191 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/0.4098, allocations: 4 kB / 1.086 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002947/0.4101, allocations: 23.97 kB / 1.086 GB, free: 9.164 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.4101, allocations: 8 kB / 1.086 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.4102, allocations: 11.98 kB / 1.086 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006143/0.4108, allocations: 0.4989 MB / 1.087 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4108, allocations: 0 / 1.087 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009877/0.4118, allocations: 307.9 kB / 1.087 GB, free: 8.352 MB / 0.8419 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.0009534/0.4127, allocations: 370.9 kB / 1.087 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002233/0.415, allocations: 1.161 MB / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.415, allocations: 0 / 1.088 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.4154, allocations: 136.3 kB / 1.088 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.4164, allocations: 193.9 kB / 1.089 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.4184, allocations: 1.093 MB / 1.09 GB, free: 5.367 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.419, allocations: 0.8859 MB / 1.091 GB, free: 4.453 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.4192, allocations: 59.39 kB / 1.091 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.4192, allocations: 0 / 1.091 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.01727/0.4365, allocations: 9.837 MB / 1.1 GB, free: 10.62 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (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 & ./Buildings_latest_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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