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.008778/0.008779, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.00203/0.00203, allocations: 193.2 kB / 16.79 MB, free: 6.254 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.431/1.431, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.734/2.734, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 62.12 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3207, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.00425/0.325, allocations: 2.362 MB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006841/0.3319, allocations: 3.901 MB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.3324, allocations: 4 kB / 1.059 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.006701/0.3392, allocations: 2.967 MB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3403, allocations: 354.8 kB / 1.062 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001408/0.3418, allocations: 455.3 kB / 1.063 GB, free: 14.2 MB / 0.8262 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.005375/0.3471, allocations: 3.385 MB / 1.066 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.3473, allocations: 44.72 kB / 1.066 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.3477, allocations: 183.2 kB / 1.066 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004053/0.3482, allocations: 227.1 kB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.3483, allocations: 12 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3498, allocations: 0.768 MB / 1.067 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.3501, allocations: 207.4 kB / 1.067 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000311/0.3504, allocations: 230.5 kB / 1.067 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001178/0.3516, allocations: 0.7133 MB / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3516, allocations: 0 / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3516, allocations: 0 / 1.068 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.3517, allocations: 0 / 1.068 GB, free: 8.438 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.001934/0.3536, allocations: 0.8867 MB / 1.069 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.3537, allocations: 8.031 kB / 1.069 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.3551, allocations: 212 kB / 1.069 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/0.3572, allocations: 0.9598 MB / 1.07 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.179e-05/0.3573, allocations: 15.98 kB / 1.07 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.593e-05/0.3574, allocations: 12 kB / 1.07 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006214/0.358, allocations: 254.4 kB / 1.07 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.358, allocations: 0 / 1.07 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.3581, allocations: 8 kB / 1.07 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3581, allocations: 3.938 kB / 1.07 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007069/0.3588, allocations: 239.8 kB / 1.071 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.3603, allocations: 0.82 MB / 1.071 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007709/0.3611, allocations: 318.5 kB / 1.072 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.3615, allocations: 124.8 kB / 1.072 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.3615, allocations: 8 kB / 1.072 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.3615, allocations: 34.56 kB / 1.072 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3616, allocations: 0 / 1.072 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.001255/0.3628, allocations: 440.6 kB / 1.072 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.3629, allocations: 55.41 kB / 1.072 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.3637, allocations: 0.7342 MB / 1.073 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/0.3638, allocations: 29.7 kB / 1.073 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.364, allocations: 232.7 kB / 1.073 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.3641, allocations: 39.44 kB / 1.073 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.3643, allocations: 158 kB / 1.074 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3645, allocations: 370.8 kB / 1.074 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007058/0.3652, allocations: 442.9 kB / 1.074 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007743/0.366, allocations: 0.5355 MB / 1.075 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.3673, allocations: 0.8703 MB / 1.076 GB, free: 412 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.3673, allocations: 0 / 1.076 GB, free: 412 kB / 0.8262 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001752/0.369, allocations: 1.076 MB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3691, allocations: 4 kB / 1.077 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3691, allocations: 4 kB / 1.077 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3691, allocations: 8.219 kB / 1.077 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004982/0.3696, allocations: 115.8 kB / 1.077 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.3696, allocations: 4 kB / 1.077 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.3702, allocations: 75.34 kB / 1.077 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.525e-05/0.3702, allocations: 28 kB / 1.077 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008222/0.3711, allocations: 0.5442 MB / 1.078 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006702/0.3717, allocations: 464.9 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001143/0.3729, allocations: 0.7276 MB / 1.079 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.3729, allocations: 0 / 1.079 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001588/0.3745, allocations: 0.9221 MB / 1.08 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3745, allocations: 11.94 kB / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3746, allocations: 224 / 1.08 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-06/0.3746, allocations: 8 kB / 1.08 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.375, allocations: 103.9 kB / 1.08 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.375, allocations: 4 kB / 1.08 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.3755, allocations: 63.69 kB / 1.08 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/0.3756, allocations: 27.94 kB / 1.08 GB, free: 12.16 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.000183/0.3758, allocations: 204.1 kB / 1.08 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.3759, allocations: 51.25 kB / 1.08 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009867/0.3769, allocations: 358.6 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.3769, allocations: 0 / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3769, allocations: 3.938 kB / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3769, allocations: 0 / 1.08 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005614/0.3775, allocations: 405.3 kB / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3775, allocations: 0 / 1.081 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.3777, allocations: 39.97 kB / 1.081 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.3778, allocations: 8 kB / 1.081 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3778, allocations: 7.969 kB / 1.081 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3778, allocations: 4 kB / 1.081 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3778, allocations: 4 kB / 1.081 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.3786, allocations: 422.5 kB / 1.081 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.3788, allocations: 156.3 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.3789, allocations: 7.938 kB / 1.081 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3792, allocations: 19.97 kB / 1.081 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.888e-05/0.3793, allocations: 8 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3793, allocations: 11.98 kB / 1.081 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0006126/0.3799, allocations: 0.4912 MB / 1.082 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 0 / 1.082 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001084/0.381, allocations: 315.9 kB / 1.082 GB, free: 9.582 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.0009744/0.382, allocations: 363 kB / 1.083 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002084/0.3841, allocations: 1.154 MB / 1.084 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3841, allocations: 0 / 1.084 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/0.3845, allocations: 132 kB / 1.084 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3855, allocations: 198.6 kB / 1.084 GB, free: 7.746 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.3874, allocations: 1.064 MB / 1.085 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005105/0.3879, allocations: 0.8936 MB / 1.086 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.3881, allocations: 55.39 kB / 1.086 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of SimCode: time 8.22e-07/0.3881, allocations: 0 / 1.086 GB, free: 5.668 MB / 0.8419 GB Notification: Performance of Templates: time 0.01772/0.4059, allocations: 9.914 MB / 1.096 GB, free: 11.82 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