Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.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.MoverParameter,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.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,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.MoverParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 108 kB / 15.6 MB, free: 132 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.001848/0.001848, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.564/2.564, allocations: 437 MB / 0.7103 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 67.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7689, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverParameter): time 0.07634/0.8453, allocations: 75.54 MB / 1.091 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03851/0.8839, allocations: 26.06 MB / 1.116 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005171/0.8891, allocations: 123.4 kB / 1.117 GB, free: 12.46 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.02151/0.9106, allocations: 12.74 MB / 1.129 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.9213, allocations: 3.76 MB / 1.133 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007573/0.9289, allocations: 3.055 MB / 1.136 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0343/0.9632, allocations: 23.44 MB / 1.159 GB, free: 1.449 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004611/0.9678, allocations: 2.615 MB / 1.161 GB, free: 14.77 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007411/0.9752, allocations: 2.983 MB / 1.164 GB, free: 11.79 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003667/0.9789, allocations: 2.33 MB / 1.166 GB, free: 9.449 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0006893/0.9796, allocations: 344 kB / 1.167 GB, free: 9.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006886/0.9865, allocations: 3.092 MB / 1.17 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.9884, allocations: 1.651 MB / 1.171 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003508/0.9919, allocations: 2.46 MB / 1.174 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.004, allocations: 7.851 MB / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.004, allocations: 0 / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.096e-06/1.004, allocations: 0 / 1.181 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001275/1.004, allocations: 3.938 kB / 1.181 GB, free: 10.01 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: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.01121/1.015, allocations: 5.494 MB / 1.187 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.015, allocations: 8.031 kB / 1.187 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009246/1.024, allocations: 1.512 MB / 1.188 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/1.038, allocations: 6.769 MB / 1.195 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008182/1.039, allocations: 271.4 kB / 1.195 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004521/1.04, allocations: 172 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005344/1.045, allocations: 2.518 MB / 1.198 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/1.045, allocations: 0 / 1.198 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/1.045, allocations: 67.98 kB / 1.198 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.35e-05/1.045, allocations: 39.94 kB / 1.198 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005501/1.051, allocations: 2.005 MB / 1.2 GB, free: 6.895 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 preOpt removeSimpleEquations (simulation): time 0.02009/1.071, allocations: 10.85 MB / 1.21 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00469/1.076, allocations: 1.514 MB / 1.212 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001976/1.078, allocations: 0.6817 MB / 1.213 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008766/1.086, allocations: 4.45 MB / 1.217 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.087, allocations: 35.12 kB / 1.217 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 2.595e-06/1.087, allocations: 0 / 1.217 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.00687/1.093, allocations: 2.242 MB / 1.219 GB, free: 2.332 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.394e-05/1.093, allocations: 59.97 kB / 1.219 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01098/1.104, allocations: 5.378 MB / 1.224 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003393/1.105, allocations: 49.7 kB / 1.224 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002069/1.107, allocations: 1.946 MB / 1.226 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/1.107, allocations: 225.1 kB / 1.227 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001472/1.109, allocations: 0.7446 MB / 1.227 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001035/1.109, allocations: 305.1 kB / 1.228 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/1.113, allocations: 2.181 MB / 1.23 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004559/1.117, allocations: 3.14 MB / 1.233 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007663/1.125, allocations: 4.915 MB / 1.238 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.06e-05/1.125, allocations: 8 kB / 1.238 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01098/1.136, allocations: 5.702 MB / 1.243 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/1.136, allocations: 19.94 kB / 1.243 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.464e-05/1.136, allocations: 24 kB / 1.243 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.098e-05/1.136, allocations: 40 kB / 1.243 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/1.14, allocations: 0.6637 MB / 1.244 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/1.142, allocations: 2.394 MB / 1.246 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.146, allocations: 470.5 kB / 1.247 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/1.147, allocations: 175.9 kB / 1.247 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005736/1.152, allocations: 2.975 MB / 1.25 GB, free: 2.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.579/1.732, allocations: 2.919 MB / 1.253 GB, free: 218.2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008161/1.74, allocations: 4.478 MB / 1.257 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.185e-05/1.74, allocations: 7.672 kB / 1.257 GB, free: 217.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=418) (initialization_lambda0): time 0.01235/1.752, allocations: 5.271 MB / 1.262 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/1.752, allocations: 16.05 kB / 1.262 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.588e-05/1.752, allocations: 24.22 kB / 1.262 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.03e-05/1.752, allocations: 37.44 kB / 1.262 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/1.756, allocations: 0.6739 MB / 1.263 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.828e-05/1.756, allocations: 54.14 kB / 1.263 GB, free: 215.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004128/1.76, allocations: 378.5 kB / 1.263 GB, free: 215.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/1.76, allocations: 172.6 kB / 1.263 GB, free: 215.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 111 * 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 (293): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 7 * 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.0006411/1.761, allocations: 315.9 kB / 1.264 GB, free: 215 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001248/1.762, allocations: 410.3 kB / 1.264 GB, free: 214.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006277/1.769, allocations: 2.1 MB / 1.266 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.082e-05/1.769, allocations: 17.88 kB / 1.266 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-05/1.769, allocations: 4.969 kB / 1.266 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/1.769, allocations: 4.859 kB / 1.266 GB, free: 214.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/1.781, allocations: 4.654 MB / 1.271 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.781, allocations: 6.656 kB / 1.271 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.783, allocations: 235.8 kB / 1.271 GB, free: 212.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002781/1.783, allocations: 103.7 kB / 1.271 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-05/1.783, allocations: 32.81 kB / 1.271 GB, free: 212.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/1.784, allocations: 2.162 MB / 1.273 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/1.784, allocations: 11.3 kB / 1.273 GB, free: 210.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005377/1.79, allocations: 2.086 MB / 1.275 GB, free: 209.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.792, allocations: 0.7073 MB / 1.276 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001252/1.793, allocations: 18.83 kB / 1.276 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002742/1.796, allocations: 140.5 kB / 1.276 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/1.796, allocations: 59.38 kB / 1.276 GB, free: 209 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.796, allocations: 50.92 kB / 1.276 GB, free: 209 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007724/1.804, allocations: 3.626 MB / 1.28 GB, free: 207.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.5e-07/1.804, allocations: 0 / 1.28 GB, free: 207.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007515/1.811, allocations: 1.861 MB / 1.282 GB, free: 207.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (75): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * 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.002081/1.813, allocations: 0.8132 MB / 1.282 GB, free: 207.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01112/1.824, allocations: 6.174 MB / 1.288 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/1.825, allocations: 0 / 1.288 GB, free: 205.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.827, allocations: 0.7602 MB / 1.289 GB, free: 205.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00922/1.836, allocations: 2.207 MB / 1.291 GB, free: 204.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01401/1.85, allocations: 7.246 MB / 1.298 GB, free: 198.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/1.853, allocations: 2.54 MB / 1.301 GB, free: 195.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.005697/1.858, allocations: 1.166 MB / 1.302 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.86, allocations: 319.3 kB / 1.302 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/1.86, allocations: 4 kB / 1.302 GB, free: 194.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.1361/1.996, allocations: 92.36 MB / 1.392 GB, free: 103.2 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_MoverParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches