Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001388/0.001388, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001382/0.001382, allocations: 191.4 kB / 17.34 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.64/2.64, allocations: 461.9 MB / 0.7355 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 60.12 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9523, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverStages): time 0.07357/1.026, allocations: 75.89 MB / 1.283 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04169/1.068, allocations: 26.68 MB / 1.309 GB, free: 6.688 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006002/1.074, allocations: 131.2 kB / 1.309 GB, free: 6.559 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.008588/1.082, allocations: 2.651 MB / 1.311 GB, free: 3.902 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01255/1.095, allocations: 3.982 MB / 1.315 GB, free: 15.9 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009483/1.104, allocations: 3.362 MB / 1.318 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.04175/1.146, allocations: 27.5 MB / 1.345 GB, free: 1.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00548/1.152, allocations: 2.82 MB / 1.348 GB, free: 14.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00802/1.16, allocations: 3.2 MB / 1.351 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004909/1.165, allocations: 2.515 MB / 1.354 GB, free: 8.406 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001469/1.166, allocations: 368 kB / 1.354 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006793/1.173, allocations: 2.605 MB / 1.357 GB, free: 5.438 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002543/1.175, allocations: 1.729 MB / 1.358 GB, free: 3.703 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005015/1.18, allocations: 2.565 MB / 1.361 GB, free: 1.125 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01305/1.194, allocations: 7.781 MB / 1.368 GB, free: 9.32 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.194, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.794e-06/1.194, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003029/1.194, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.092 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.01544/1.209, allocations: 5.72 MB / 1.374 GB, free: 3.492 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.209, allocations: 8.031 kB / 1.374 GB, free: 3.484 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009095/1.219, allocations: 1.527 MB / 1.375 GB, free: 1.949 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/1.233, allocations: 7.349 MB / 1.383 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/1.233, allocations: 143.1 kB / 1.383 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/1.234, allocations: 188 kB / 1.383 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/1.239, allocations: 2.672 MB / 1.386 GB, free: 7.445 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.239, allocations: 3.938 kB / 1.386 GB, free: 7.441 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/1.239, allocations: 72 kB / 1.386 GB, free: 7.371 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/1.239, allocations: 40 kB / 1.386 GB, free: 7.332 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005474/1.245, allocations: 2.1 MB / 1.388 GB, free: 5.227 MB / 1.107 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.01819/1.263, allocations: 11.07 MB / 1.398 GB, free: 9.676 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005343/1.268, allocations: 1.74 MB / 1.4 GB, free: 7.93 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002289/1.271, allocations: 0.7932 MB / 1.401 GB, free: 7.133 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007238/1.278, allocations: 4.092 MB / 1.405 GB, free: 2.77 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002879/1.281, allocations: 1.334 MB / 1.406 GB, free: 1.418 MB / 1.123 GB Notification: Performance of pre-optimization done (n=74): time 2.735e-06/1.281, allocations: 0 / 1.406 GB, free: 1.418 MB / 1.123 GB Notification: Performance of matching and sorting (n=74): time 0.007871/1.289, allocations: 2.62 MB / 1.409 GB, free: 14.79 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.479e-05/1.289, allocations: 145.2 kB / 1.409 GB, free: 14.61 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009515/1.298, allocations: 5.724 MB / 1.415 GB, free: 8.918 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0004189/1.299, allocations: 57.69 kB / 1.415 GB, free: 8.855 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.002072/1.301, allocations: 1.964 MB / 1.417 GB, free: 6.875 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005083/1.301, allocations: 276.3 kB / 1.417 GB, free: 6.602 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/1.303, allocations: 0.7009 MB / 1.417 GB, free: 5.891 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.303, allocations: 301.1 kB / 1.418 GB, free: 5.594 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003596/1.306, allocations: 2.047 MB / 1.42 GB, free: 3.535 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00448/1.311, allocations: 2.932 MB / 1.423 GB, free: 260 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007394/1.318, allocations: 4.574 MB / 1.427 GB, free: 11.39 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/1.318, allocations: 12 kB / 1.427 GB, free: 11.38 MB / 1.154 GB Notification: Performance of matching and sorting (n=391) (initialization): time 0.01037/1.329, allocations: 5.35 MB / 1.432 GB, free: 6.016 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.329, allocations: 14.03 kB / 1.432 GB, free: 6.004 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/1.329, allocations: 20 kB / 1.432 GB, free: 5.984 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.045e-05/1.329, allocations: 36.69 kB / 1.432 GB, free: 5.949 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/1.332, allocations: 0.6474 MB / 1.433 GB, free: 5.301 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/1.335, allocations: 2.386 MB / 1.435 GB, free: 2.844 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004008/1.339, allocations: 405.5 kB / 1.436 GB, free: 2.445 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003935/1.339, allocations: 155.9 kB / 1.436 GB, free: 2.293 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005706/1.345, allocations: 2.863 MB / 1.439 GB, free: 15.42 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004143/1.349, allocations: 2.701 MB / 1.441 GB, free: 12.38 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006998/1.356, allocations: 4.137 MB / 1.445 GB, free: 7.953 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.572e-05/1.356, allocations: 4 kB / 1.445 GB, free: 7.949 MB / 1.17 GB Notification: Performance of matching and sorting (n=391) (initialization_lambda0): time 0.009416/1.366, allocations: 4.898 MB / 1.45 GB, free: 3.035 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/1.366, allocations: 12 kB / 1.45 GB, free: 3.023 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.124e-05/1.366, allocations: 27.94 kB / 1.45 GB, free: 2.996 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.769e-05/1.366, allocations: 32 kB / 1.45 GB, free: 2.965 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002947/1.369, allocations: 0.6439 MB / 1.451 GB, free: 2.32 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.964e-05/1.369, allocations: 43.86 kB / 1.451 GB, free: 2.277 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/1.372, allocations: 322.4 kB / 1.451 GB, free: 1.961 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/1.373, allocations: 151.9 kB / 1.451 GB, free: 1.812 MB / 1.17 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.0006765/1.373, allocations: 315.5 kB / 1.452 GB, free: 1.496 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001209/1.375, allocations: 430.2 kB / 1.452 GB, free: 1.07 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006613/1.381, allocations: 2.409 MB / 1.454 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.381, allocations: 15.98 kB / 1.454 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/1.381, allocations: 0 / 1.454 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.381, allocations: 3.984 kB / 1.454 GB, free: 14.62 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.393, allocations: 5.069 MB / 1.459 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/1.393, allocations: 0 / 1.459 GB, free: 9.484 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001625/1.395, allocations: 275.8 kB / 1.46 GB, free: 9.215 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002506/1.395, allocations: 104.8 kB / 1.46 GB, free: 9.109 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.395, allocations: 35.95 kB / 1.46 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/1.397, allocations: 2.154 MB / 1.462 GB, free: 6.848 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/1.397, allocations: 15.91 kB / 1.462 GB, free: 6.832 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00604/1.403, allocations: 2.305 MB / 1.464 GB, free: 4.492 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.405, allocations: 0.741 MB / 1.465 GB, free: 3.727 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006229/1.405, allocations: 20 kB / 1.465 GB, free: 3.707 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.407, allocations: 151.7 kB / 1.465 GB, free: 3.559 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/1.408, allocations: 76.78 kB / 1.465 GB, free: 3.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/1.408, allocations: 63.94 kB / 1.465 GB, free: 3.418 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.006375/1.414, allocations: 3.889 MB / 1.469 GB, free: 15.55 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.7e-07/1.414, allocations: 0 / 1.469 GB, free: 15.55 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.005079/1.419, allocations: 1.79 MB / 1.471 GB, free: 13.76 MB / 1.201 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.002518/1.422, allocations: 1.026 MB / 1.472 GB, free: 12.89 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.433, allocations: 5.776 MB / 1.477 GB, free: 7.125 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.433, allocations: 0 / 1.477 GB, free: 7.125 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002594/1.436, allocations: 0.9088 MB / 1.478 GB, free: 6.219 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008937/1.445, allocations: 2.302 MB / 1.48 GB, free: 3.988 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/1.458, allocations: 7.647 MB / 1.488 GB, free: 12.29 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/1.461, allocations: 2.61 MB / 1.491 GB, free: 9.652 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.462, allocations: 363.2 kB / 1.491 GB, free: 9.297 MB / 1.217 GB Notification: Performance of SimCode: time 8.22e-07/1.462, allocations: 0 / 1.491 GB, free: 9.297 MB / 1.217 GB Notification: Performance of Templates: time 0.7632/2.225, allocations: 132.1 MB / 1.62 GB, free: 299.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_MoverStages.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.MoverStages.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches