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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0009495/0.0009493, 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.008355/0.008356, allocations: 170.1 kB / 16.26 MB, free: 6.676 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.48/1.48, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.49/2.49, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 12 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7882/0.7887, allocations: 142.4 MB / 0.955 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.09861/0.8873, allocations: 92.58 MB / 1.045 GB, free: 2.543 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04938/0.9367, allocations: 29.74 MB / 1.074 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007194/0.944, allocations: 135.1 kB / 1.075 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006453/0.9505, allocations: 1.692 MB / 1.076 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01392/0.9644, allocations: 4.174 MB / 1.08 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01003/0.9745, allocations: 3.267 MB / 1.084 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01828/0.9928, allocations: 11.83 MB / 1.095 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007678/1.001, allocations: 2.75 MB / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009453/1.01, allocations: 3.154 MB / 1.101 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00671/1.017, allocations: 2.746 MB / 1.104 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001154/1.018, allocations: 156 kB / 1.104 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006925/1.025, allocations: 2.398 MB / 1.106 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/1.027, allocations: 1.374 MB / 1.107 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00435/1.031, allocations: 2.255 MB / 1.11 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.043, allocations: 7.265 MB / 1.117 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/1.043, allocations: 4 kB / 1.117 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.044e-06/1.043, allocations: 4 kB / 1.117 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002093/1.044, allocations: 0 / 1.117 GB, free: 9.367 MB / 0.8731 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.01258/1.056, allocations: 5.066 MB / 1.122 GB, free: 4.227 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.056, allocations: 8.031 kB / 1.122 GB, free: 4.219 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00944/1.066, allocations: 1.661 MB / 1.123 GB, free: 2.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01183/1.078, allocations: 5.226 MB / 1.128 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008718/1.079, allocations: 300.7 kB / 1.129 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/1.079, allocations: 227.9 kB / 1.129 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/1.086, allocations: 3.038 MB / 1.132 GB, free: 9.621 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/1.086, allocations: 4 kB / 1.132 GB, free: 9.617 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.086, allocations: 80 kB / 1.132 GB, free: 9.539 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/1.086, allocations: 52 kB / 1.132 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006341/1.093, allocations: 2.431 MB / 1.134 GB, free: 7.055 MB / 0.8887 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.02274/1.115, allocations: 12.38 MB / 1.146 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/1.122, allocations: 2.011 MB / 1.148 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002459/1.124, allocations: 0.9191 MB / 1.149 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008283/1.132, allocations: 4.433 MB / 1.154 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/1.132, allocations: 47.5 kB / 1.154 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001626/1.134, allocations: 198.2 kB / 1.154 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 4.378e-06/1.134, allocations: 0 / 1.154 GB, free: 2.129 MB / 0.9044 GB Notification: Performance of matching and sorting (n=83): time 0.008316/1.142, allocations: 2.959 MB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.142, allocations: 60.41 kB / 1.157 GB, free: 15.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00927/1.152, allocations: 4.626 MB / 1.161 GB, free: 10.47 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004718/1.152, allocations: 57.7 kB / 1.161 GB, free: 10.41 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/1.154, allocations: 2.033 MB / 1.163 GB, free: 8.359 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/1.155, allocations: 287.8 kB / 1.164 GB, free: 8.074 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004895/1.156, allocations: 197.6 kB / 1.164 GB, free: 7.875 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/1.156, allocations: 305.1 kB / 1.164 GB, free: 7.574 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003586/1.159, allocations: 1.694 MB / 1.166 GB, free: 5.879 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/1.163, allocations: 2.623 MB / 1.168 GB, free: 2.816 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007561/1.171, allocations: 4.24 MB / 1.172 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-05/1.171, allocations: 8 kB / 1.172 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251) (initialization): time 0.009648/1.181, allocations: 4.609 MB / 1.177 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007335/1.181, allocations: 0.911 MB / 1.178 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/1.182, allocations: 32 kB / 1.178 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.74e-05/1.182, allocations: 43.94 kB / 1.178 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003964/1.186, allocations: 0.6319 MB / 1.179 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002992/1.189, allocations: 2.996 MB / 1.181 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004454/1.193, allocations: 248.5 kB / 1.182 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005538/1.194, allocations: 179.9 kB / 1.182 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/1.194, allocations: 4 kB / 1.182 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007959/1.202, allocations: 3.608 MB / 1.185 GB, free: 440 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.227e-05/1.202, allocations: 31.94 kB / 1.185 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.944e-05/1.202, allocations: 40.84 kB / 1.185 GB, free: 368 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003211/1.205, allocations: 0.6631 MB / 1.186 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.368e-05/1.205, allocations: 55.78 kB / 1.186 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/1.209, allocations: 240.3 kB / 1.186 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004316/1.209, allocations: 179.9 kB / 1.187 GB, free: 15.23 MB / 0.9512 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002879/1.212, allocations: 1.109 MB / 1.188 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/1.213, allocations: 410.6 kB / 1.188 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0078/1.221, allocations: 2.801 MB / 1.191 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.443e-05/1.221, allocations: 12 kB / 1.191 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/1.221, allocations: 0 / 1.191 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/1.221, allocations: 3.984 kB / 1.191 GB, free: 10.86 MB / 0.9512 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.01334/1.235, allocations: 5.308 MB / 1.196 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/1.235, allocations: 0 / 1.196 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001709/1.236, allocations: 335.6 kB / 1.196 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003858/1.237, allocations: 145.6 kB / 1.196 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.068e-05/1.237, allocations: 39.95 kB / 1.196 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/1.239, allocations: 2.671 MB / 1.199 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.239, allocations: 7.969 kB / 1.199 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007145/1.246, allocations: 2.547 MB / 1.202 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002879/1.249, allocations: 0.6515 MB / 1.202 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001558/1.25, allocations: 28 kB / 1.202 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003501/1.254, allocations: 223.6 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/1.254, allocations: 72.84 kB / 1.203 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/1.254, allocations: 67.94 kB / 1.203 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.007558/1.262, allocations: 3.167 MB / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.11e-07/1.262, allocations: 0 / 1.206 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.008025/1.27, allocations: 1.7 MB / 1.207 GB, free: 9.68 MB / 0.9669 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 (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002209/1.272, allocations: 0.6439 MB / 1.208 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01568/1.288, allocations: 5.267 MB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/1.288, allocations: 4 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00338/1.291, allocations: 1.072 MB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/1.304, allocations: 2.095 MB / 1.216 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0178/1.322, allocations: 8.639 MB / 1.225 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003872/1.326, allocations: 2.519 MB / 1.227 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.007105/1.333, allocations: 1.101 MB / 1.228 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001378/1.334, allocations: 307.3 kB / 1.228 GB, free: 4 MB / 0.9825 GB Notification: Performance of SimCode: time 1.182e-06/1.334, allocations: 0 / 1.228 GB, free: 4 MB / 0.9825 GB Notification: Performance of Templates: time 0.6866/2.021, allocations: 86.7 MB / 1.313 GB, free: 226.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