Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") translateModel(Buildings.Fluid.Movers.Examples.MoverContinuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_Nrpm.m_flow|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001097/0.001097, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.495/2.495, allocations: 390.9 MB / 0.666 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005654, allocations: 11.98 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7621/0.7627, allocations: 142.4 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.0895/0.8523, allocations: 87.42 MB / 1.04 GB, free: 7.883 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04749/0.8998, allocations: 28.16 MB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005826/0.9057, allocations: 131.2 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00513/0.9109, allocations: 1.331 MB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.9226, allocations: 3.618 MB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.008521/0.9312, allocations: 2.736 MB / 1.075 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01691/0.9481, allocations: 10.09 MB / 1.085 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005466/0.9536, allocations: 2.496 MB / 1.087 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008386/0.962, allocations: 3.05 MB / 1.09 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005488/0.9676, allocations: 2.673 MB / 1.093 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0009333/0.9685, allocations: 160 kB / 1.093 GB, free: 1.293 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005334/0.9739, allocations: 1.825 MB / 1.095 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.9758, allocations: 1.374 MB / 1.096 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.002246/0.978, allocations: 0.964 MB / 1.097 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.009034/0.9871, allocations: 5.759 MB / 1.103 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9871, allocations: 0 / 1.103 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.595e-06/0.9871, allocations: 0 / 1.103 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.00029/0.9874, allocations: 0 / 1.103 GB, free: 7.34 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 489 * Number of variables: 489 Notification: Performance of Generate backend data structure: time 0.01305/1, allocations: 5.136 MB / 1.108 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/1.001, allocations: 8.031 kB / 1.108 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009424/1.01, allocations: 1.664 MB / 1.109 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/1.025, allocations: 5.074 MB / 1.114 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008142/1.026, allocations: 312.7 kB / 1.115 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009562/1.027, allocations: 224 kB / 1.115 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0088/1.036, allocations: 3.06 MB / 1.118 GB, free: 7.645 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.234e-05/1.036, allocations: 3.938 kB / 1.118 GB, free: 7.641 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005821/1.036, allocations: 87.95 kB / 1.118 GB, free: 7.555 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.092e-05/1.037, allocations: 48 kB / 1.118 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007625/1.044, allocations: 2.509 MB / 1.12 GB, free: 4.996 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/1.069, allocations: 12.45 MB / 1.132 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005793/1.075, allocations: 2.06 MB / 1.135 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002455/1.077, allocations: 0.941 MB / 1.135 GB, free: 4.945 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008933/1.086, allocations: 4.498 MB / 1.14 GB, free: 120 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.086, allocations: 43.56 kB / 1.14 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002096/1.089, allocations: 202.2 kB / 1.14 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 7.073e-06/1.089, allocations: 0 / 1.14 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of matching and sorting (n=83): time 0.008236/1.097, allocations: 3.029 MB / 1.143 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/1.097, allocations: 60.41 kB / 1.143 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01055/1.107, allocations: 4.599 MB / 1.148 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005933/1.108, allocations: 57.7 kB / 1.148 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.00266/1.111, allocations: 2.034 MB / 1.15 GB, free: 6.055 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008495/1.112, allocations: 291.8 kB / 1.15 GB, free: 5.766 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003901/1.112, allocations: 36 kB / 1.15 GB, free: 5.73 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002772/1.112, allocations: 393.8 kB / 1.15 GB, free: 5.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003366/1.116, allocations: 1.214 MB / 1.151 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00414/1.12, allocations: 2.166 MB / 1.154 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003429/1.123, allocations: 1.385 MB / 1.155 GB, free: 128 kB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-05/1.123, allocations: 8 kB / 1.155 GB, free: 120 kB / 0.9044 GB Notification: Performance of matching and sorting (n=251) (initialization): time 0.009184/1.133, allocations: 3.655 MB / 1.159 GB, free: 12.45 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009753/1.134, allocations: 0.9156 MB / 1.159 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/1.134, allocations: 28 kB / 1.159 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.43e-05/1.134, allocations: 44 kB / 1.159 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/1.137, allocations: 0.6513 MB / 1.16 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002881/1.14, allocations: 2.996 MB / 1.163 GB, free: 7.328 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/1.144, allocations: 269 kB / 1.163 GB, free: 7.066 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005589/1.145, allocations: 183.9 kB / 1.163 GB, free: 6.887 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.145, allocations: 4 kB / 1.163 GB, free: 6.883 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007468/1.152, allocations: 3.612 MB / 1.167 GB, free: 3.273 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.231e-05/1.152, allocations: 28 kB / 1.167 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.764e-05/1.153, allocations: 44 kB / 1.167 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/1.156, allocations: 0.6593 MB / 1.168 GB, free: 2.543 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.508e-05/1.156, allocations: 59.78 kB / 1.168 GB, free: 2.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003488/1.159, allocations: 258.3 kB / 1.168 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000421/1.16, allocations: 179.9 kB / 1.168 GB, free: 2.059 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 126 * 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 (220): * Single equations (assignments): 212 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00251/1.162, allocations: 1.113 MB / 1.169 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.163, allocations: 406.7 kB / 1.17 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007726/1.171, allocations: 2.856 MB / 1.172 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.054e-05/1.171, allocations: 15.95 kB / 1.172 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.171, allocations: 4 kB / 1.172 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/1.171, allocations: 7.969 kB / 1.172 GB, free: 13.63 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.186, allocations: 5.374 MB / 1.178 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/1.186, allocations: 0 / 1.178 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001758/1.188, allocations: 339.6 kB / 1.178 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004297/1.188, allocations: 145.6 kB / 1.178 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/1.188, allocations: 39.95 kB / 1.178 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001934/1.19, allocations: 2.671 MB / 1.181 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.19, allocations: 0 / 1.181 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006688/1.197, allocations: 2.605 MB / 1.183 GB, free: 2.242 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/1.199, allocations: 0.6633 MB / 1.184 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001186/1.2, allocations: 16 kB / 1.184 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.203, allocations: 243.6 kB / 1.184 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/1.204, allocations: 68.91 kB / 1.184 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/1.204, allocations: 71.89 kB / 1.184 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.007057/1.211, allocations: 3.144 MB / 1.187 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/1.211, allocations: 0 / 1.187 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.007892/1.219, allocations: 1.711 MB / 1.189 GB, free: 12.32 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/1.221, allocations: 0.6054 MB / 1.19 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01234/1.233, allocations: 4.833 MB / 1.194 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.233, allocations: 0 / 1.194 GB, free: 6.887 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.003023/1.236, allocations: 1.092 MB / 1.196 GB, free: 5.801 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01019/1.246, allocations: 2.151 MB / 1.198 GB, free: 3.668 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/1.263, allocations: 8.348 MB / 1.206 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003548/1.267, allocations: 2.511 MB / 1.208 GB, free: 8.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00647/1.273, allocations: 1.105 MB / 1.209 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.274, allocations: 307.3 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of SimCode: time 1.242e-06/1.274, allocations: 4 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of Templates: time 0.6625/1.937, allocations: 85.17 MB / 1.293 GB, free: 243.4 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverContinuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches