Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.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.Examples.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages") translateModel(Buildings.Fluid.Movers.Examples.MoverStages,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow|pump_m_flow.m_flow|pump_y.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001325/0.001325, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.465/2.465, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001586/0.001586, allocations: 67.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07554/1.093, allocations: 75.9 MB / 1.241 GB, free: 7.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.04362/1.136, allocations: 26.68 MB / 1.267 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006568/1.143, allocations: 127.4 kB / 1.268 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009563/1.152, allocations: 2.683 MB / 1.27 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/1.167, allocations: 4.141 MB / 1.274 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01004/1.177, allocations: 3.37 MB / 1.278 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.04153/1.218, allocations: 27.51 MB / 1.304 GB, free: 7.074 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006451/1.225, allocations: 2.824 MB / 1.307 GB, free: 4.184 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009268/1.234, allocations: 3.213 MB / 1.31 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005516/1.24, allocations: 2.495 MB / 1.313 GB, free: 14.46 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.00187/1.242, allocations: 372 kB / 1.313 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007385/1.249, allocations: 2.593 MB / 1.316 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002921/1.252, allocations: 1.733 MB / 1.317 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006229/1.258, allocations: 2.561 MB / 1.32 GB, free: 7.188 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01534/1.274, allocations: 7.777 MB / 1.327 GB, free: 15.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.274, allocations: 0 / 1.327 GB, free: 15.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.164e-06/1.274, allocations: 4 kB / 1.327 GB, free: 15.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0002901/1.274, allocations: 0 / 1.327 GB, free: 15.38 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 405 * Number of variables: 405 Notification: Performance of Generate backend data structure: time 0.01877/1.293, allocations: 5.724 MB / 1.333 GB, free: 9.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.293, allocations: 12.86 kB / 1.333 GB, free: 9.543 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009664/1.302, allocations: 1.531 MB / 1.335 GB, free: 8.004 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01765/1.32, allocations: 7.341 MB / 1.342 GB, free: 0.5938 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/1.32, allocations: 143.2 kB / 1.342 GB, free: 464 kB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008813/1.321, allocations: 184 kB / 1.342 GB, free: 280 kB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007609/1.329, allocations: 2.676 MB / 1.345 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.74e-05/1.329, allocations: 7.875 kB / 1.345 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005043/1.33, allocations: 68 kB / 1.345 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/1.33, allocations: 40 kB / 1.345 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/1.336, allocations: 2.092 MB / 1.347 GB, free: 11.29 MB / 1.076 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.02872/1.365, allocations: 11.08 MB / 1.358 GB, free: 15.73 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/1.371, allocations: 1.749 MB / 1.359 GB, free: 13.97 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.374, allocations: 0.777 MB / 1.36 GB, free: 13.19 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009489/1.383, allocations: 4.102 MB / 1.364 GB, free: 8.82 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003006/1.386, allocations: 1.334 MB / 1.365 GB, free: 7.465 MB / 1.092 GB Notification: Performance of pre-optimization done (n=74): time 4.839e-06/1.386, allocations: 0 / 1.365 GB, free: 7.465 MB / 1.092 GB Notification: Performance of matching and sorting (n=74): time 0.008539/1.395, allocations: 2.624 MB / 1.368 GB, free: 4.832 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.395, allocations: 137.2 kB / 1.368 GB, free: 4.668 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01372/1.409, allocations: 5.728 MB / 1.374 GB, free: 14.97 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005513/1.409, allocations: 49.7 kB / 1.374 GB, free: 14.91 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.003069/1.412, allocations: 1.972 MB / 1.376 GB, free: 12.93 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006776/1.413, allocations: 276.3 kB / 1.376 GB, free: 12.65 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002317/1.415, allocations: 0.6931 MB / 1.377 GB, free: 11.95 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.415, allocations: 301.1 kB / 1.377 GB, free: 11.65 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004138/1.42, allocations: 2.054 MB / 1.379 GB, free: 9.586 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00498/1.425, allocations: 2.928 MB / 1.382 GB, free: 6.309 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008129/1.433, allocations: 4.581 MB / 1.386 GB, free: 1.449 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/1.433, allocations: 4 kB / 1.386 GB, free: 1.445 MB / 1.107 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.0109/1.444, allocations: 5.347 MB / 1.391 GB, free: 12.08 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/1.444, allocations: 19.98 kB / 1.391 GB, free: 12.06 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/1.444, allocations: 20.78 kB / 1.391 GB, free: 12.04 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.394e-05/1.444, allocations: 35.94 kB / 1.391 GB, free: 12.01 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/1.448, allocations: 0.6397 MB / 1.392 GB, free: 11.37 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.45, allocations: 2.379 MB / 1.394 GB, free: 8.918 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/1.454, allocations: 412.8 kB / 1.395 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005231/1.455, allocations: 159.9 kB / 1.395 GB, free: 8.355 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005404/1.46, allocations: 2.867 MB / 1.398 GB, free: 5.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004037/1.465, allocations: 2.709 MB / 1.4 GB, free: 2.426 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006649/1.471, allocations: 4.122 MB / 1.404 GB, free: 14.01 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.092e-05/1.471, allocations: 8 kB / 1.404 GB, free: 14 MB / 1.139 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.009643/1.481, allocations: 4.909 MB / 1.409 GB, free: 9.078 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/1.481, allocations: 15.94 kB / 1.409 GB, free: 9.062 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/1.481, allocations: 23.94 kB / 1.409 GB, free: 9.039 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.682e-05/1.481, allocations: 32 kB / 1.409 GB, free: 9.008 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002863/1.484, allocations: 0.6402 MB / 1.41 GB, free: 8.367 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.245e-05/1.484, allocations: 43.86 kB / 1.41 GB, free: 8.324 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00421/1.488, allocations: 318.2 kB / 1.41 GB, free: 8.012 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/1.489, allocations: 155.9 kB / 1.41 GB, free: 7.859 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000715/1.489, allocations: 303.6 kB / 1.411 GB, free: 7.555 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001335/1.491, allocations: 434.2 kB / 1.411 GB, free: 7.125 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006253/1.497, allocations: 2.409 MB / 1.413 GB, free: 4.695 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/1.497, allocations: 16 kB / 1.414 GB, free: 4.68 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.497, allocations: 0 / 1.414 GB, free: 4.68 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/1.497, allocations: 3.984 kB / 1.414 GB, free: 4.676 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.508, allocations: 5.065 MB / 1.418 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.509, allocations: 4.125 kB / 1.418 GB, free: 15.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.51, allocations: 279.6 kB / 1.419 GB, free: 15.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000296/1.51, allocations: 104.8 kB / 1.419 GB, free: 15.16 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/1.511, allocations: 35.95 kB / 1.419 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/1.512, allocations: 2.146 MB / 1.421 GB, free: 12.91 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/1.512, allocations: 3.938 kB / 1.421 GB, free: 12.9 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00616/1.518, allocations: 2.313 MB / 1.423 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002719/1.521, allocations: 0.741 MB / 1.424 GB, free: 9.789 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001105/1.522, allocations: 16 kB / 1.424 GB, free: 9.773 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002652/1.525, allocations: 151.8 kB / 1.424 GB, free: 9.625 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.525, allocations: 76.84 kB / 1.424 GB, free: 9.551 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.525, allocations: 51.95 kB / 1.424 GB, free: 9.5 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00769/1.533, allocations: 3.893 MB / 1.428 GB, free: 5.633 MB / 1.154 GB Notification: Performance of sort global known variables: time 8.12e-07/1.533, allocations: 0 / 1.428 GB, free: 5.633 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.006861/1.54, allocations: 1.794 MB / 1.43 GB, free: 3.836 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002684/1.543, allocations: 1.036 MB / 1.431 GB, free: 2.934 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01232/1.555, allocations: 5.784 MB / 1.436 GB, free: 13.16 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.555, allocations: 0 / 1.436 GB, free: 13.16 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002637/1.558, allocations: 0.9054 MB / 1.437 GB, free: 12.25 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01071/1.568, allocations: 2.3 MB / 1.44 GB, free: 9.988 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.585, allocations: 7.65 MB / 1.447 GB, free: 2.297 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002627/1.588, allocations: 2.606 MB / 1.45 GB, free: 15.66 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/1.59, allocations: 363.2 kB / 1.45 GB, free: 15.3 MB / 1.186 GB Notification: Performance of SimCode: time 1.443e-06/1.59, allocations: 0 / 1.45 GB, free: 15.3 MB / 1.186 GB Notification: Performance of Templates: time 0.8946/2.484, allocations: 132.1 MB / 1.579 GB, free: 365.4 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_MoverStages.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverStages.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches