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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: 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_10_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_10_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.001677/0.001677, allocations: 108.6 kB / 15.73 MB, free: 76 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.001987/0.001987, allocations: 189.9 kB / 16.66 MB, free: 6.59 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.405/1.405, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437 MB / 0.7105 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 67.91 kB / 1.019 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3237, allocations: 151.6 MB / 1.167 GB, free: 6.898 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003399/0.3271, allocations: 2.309 MB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00579/0.3329, allocations: 3.781 MB / 1.173 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.3333, allocations: 7.938 kB / 1.173 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.3363, allocations: 1.052 MB / 1.174 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.3373, allocations: 414.4 kB / 1.174 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3384, allocations: 0.5107 MB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.004561/0.343, allocations: 3.148 MB / 1.178 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3432, allocations: 56.7 kB / 1.178 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.3435, allocations: 219.3 kB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.3438, allocations: 215.2 kB / 1.178 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.053e-05/0.3439, allocations: 20 kB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.3451, allocations: 0.7447 MB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.3453, allocations: 211.4 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.3456, allocations: 246.5 kB / 1.179 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3468, allocations: 1.035 MB / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3469, allocations: 0 / 1.18 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3469, allocations: 4 kB / 1.18 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3469, allocations: 0 / 1.18 GB, free: 8.898 MB / 0.9356 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.001389/0.3483, allocations: 0.913 MB / 1.181 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.3483, allocations: 11.98 kB / 1.181 GB, free: 7.922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.3496, allocations: 216.4 kB / 1.181 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.3515, allocations: 0.972 MB / 1.182 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.3516, allocations: 12 kB / 1.182 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3516, allocations: 20 kB / 1.182 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005586/0.3522, allocations: 257.4 kB / 1.183 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3522, allocations: 0 / 1.183 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.3522, allocations: 8 kB / 1.183 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.3523, allocations: 4 kB / 1.183 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.3529, allocations: 231.8 kB / 1.183 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.3543, allocations: 0.824 MB / 1.184 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.355, allocations: 298.7 kB / 1.184 GB, free: 4.992 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003414/0.3553, allocations: 124.7 kB / 1.184 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3554, allocations: 8 kB / 1.184 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3554, allocations: 34.5 kB / 1.184 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.502e-06/0.3554, allocations: 0 / 1.184 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.001202/0.3566, allocations: 437 kB / 1.184 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.3567, allocations: 51.41 kB / 1.184 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008278/0.3575, allocations: 0.7499 MB / 1.185 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.3575, allocations: 25.7 kB / 1.185 GB, free: 3.531 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3577, allocations: 236.8 kB / 1.185 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.3578, allocations: 35.67 kB / 1.186 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.358, allocations: 170 kB / 1.186 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3581, allocations: 366.8 kB / 1.186 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.3588, allocations: 442.9 kB / 1.186 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.3596, allocations: 0.5203 MB / 1.187 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.3609, allocations: 0.8702 MB / 1.188 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3609, allocations: 0 / 1.188 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001684/0.3626, allocations: 1.073 MB / 1.189 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3626, allocations: 12.16 kB / 1.189 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3626, allocations: 4 kB / 1.189 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.3627, allocations: 4 kB / 1.189 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3631, allocations: 107.9 kB / 1.189 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3632, allocations: 4 kB / 1.189 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.3636, allocations: 71.59 kB / 1.189 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/0.3637, allocations: 39.92 kB / 1.189 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007858/0.3645, allocations: 0.5403 MB / 1.19 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006825/0.3652, allocations: 460.5 kB / 1.19 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001137/0.3663, allocations: 0.7276 MB / 1.191 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.294e-06/0.3663, allocations: 4 kB / 1.191 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001482/0.3678, allocations: 0.9185 MB / 1.192 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3678, allocations: 4 kB / 1.192 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3678, allocations: 7.938 kB / 1.192 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/0.3679, allocations: 8.219 kB / 1.192 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.3683, allocations: 107.8 kB / 1.192 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.3683, allocations: 4 kB / 1.192 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/0.3687, allocations: 67.69 kB / 1.192 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.3688, allocations: 24 kB / 1.192 GB, free: 12.6 MB / 0.9512 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.0001521/0.369, allocations: 202.5 kB / 1.192 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/0.369, allocations: 63.55 kB / 1.192 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009937/0.37, allocations: 338.7 kB / 1.192 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.3701, allocations: 4 kB / 1.192 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3701, allocations: 0 / 1.192 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3701, allocations: 3.984 kB / 1.192 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.3706, allocations: 420.9 kB / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.3706, allocations: 0 / 1.193 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.3708, allocations: 55.77 kB / 1.193 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3708, allocations: 0 / 1.193 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3709, allocations: 0 / 1.193 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3709, allocations: 8 kB / 1.193 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3709, allocations: 0 / 1.193 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008026/0.3717, allocations: 423 kB / 1.193 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.3718, allocations: 148.7 kB / 1.193 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/0.3719, allocations: 4 kB / 1.193 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.3722, allocations: 27.97 kB / 1.193 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3723, allocations: 4 kB / 1.193 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.3723, allocations: 11.98 kB / 1.194 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005906/0.3729, allocations: 0.499 MB / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3729, allocations: 0 / 1.194 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009359/0.3738, allocations: 319.5 kB / 1.194 GB, free: 10.02 MB / 0.9512 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.0007544/0.3746, allocations: 386.4 kB / 1.195 GB, free: 9.625 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002027/0.3766, allocations: 1.135 MB / 1.196 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3767, allocations: 0 / 1.196 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.377, allocations: 132.3 kB / 1.196 GB, free: 8.363 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.3779, allocations: 208.8 kB / 1.196 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3795, allocations: 0.9496 MB / 1.197 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004709/0.38, allocations: 0.9012 MB / 1.198 GB, free: 6.262 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005851/0.3806, allocations: 188.2 kB / 1.198 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/0.3807, allocations: 55.41 kB / 1.198 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of SimCode: time 5.51e-07/0.3807, allocations: 0 / 1.198 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of Templates: time 0.02096/0.4017, allocations: 12.37 MB / 1.21 GB, free: 9.781 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.makefile (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 & ./Buildings_10_Buildings.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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