Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.MoverParameter,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.MoverParameter") translateModel(Buildings.Fluid.Movers.Examples.MoverParameter,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.MoverParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009367/0.0009366, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005872/0.005872, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.476/2.476, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003514, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7711/0.7715, allocations: 142.4 MB / 0.955 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverParameter): time 0.1004/0.8719, allocations: 92.47 MB / 1.045 GB, free: 2.598 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04451/0.9164, allocations: 29.72 MB / 1.074 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005564/0.922, allocations: 131.2 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00579/0.9279, allocations: 1.689 MB / 1.076 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0152/0.9431, allocations: 4.161 MB / 1.08 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00945/0.9526, allocations: 3.258 MB / 1.083 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01633/0.9689, allocations: 11.78 MB / 1.095 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007244/0.9762, allocations: 2.726 MB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009541/0.9858, allocations: 3.131 MB / 1.101 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005574/0.9914, allocations: 2.726 MB / 1.103 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.9926, allocations: 160 kB / 1.103 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007223/0.9998, allocations: 2.405 MB / 1.106 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002293/1.002, allocations: 1.366 MB / 1.107 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00465/1.007, allocations: 2.239 MB / 1.109 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01144/1.018, allocations: 7.226 MB / 1.116 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/1.018, allocations: 4 kB / 1.116 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.425e-06/1.018, allocations: 3.938 kB / 1.116 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001315/1.018, allocations: 3.938 kB / 1.116 GB, free: 9.645 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: 478 * Number of variables: 478 Notification: Performance of Generate backend data structure: time 0.01079/1.029, allocations: 5.007 MB / 1.121 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/1.029, allocations: 12.03 kB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009644/1.039, allocations: 1.657 MB / 1.123 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01334/1.052, allocations: 5.208 MB / 1.128 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008856/1.053, allocations: 300.6 kB / 1.128 GB, free: 13.31 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007555/1.054, allocations: 216 kB / 1.128 GB, free: 13.1 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008881/1.063, allocations: 2.993 MB / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.282e-05/1.063, allocations: 0 / 1.131 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004601/1.064, allocations: 80 kB / 1.131 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-05/1.064, allocations: 48 kB / 1.131 GB, free: 9.902 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007056/1.071, allocations: 2.372 MB / 1.134 GB, free: 7.527 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.0245/1.095, allocations: 12.36 MB / 1.146 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005212/1.1, allocations: 1.775 MB / 1.148 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002152/1.103, allocations: 0.8031 MB / 1.148 GB, free: 7.977 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009743/1.112, allocations: 5.031 MB / 1.153 GB, free: 2.613 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.112, allocations: 43.12 kB / 1.153 GB, free: 2.562 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001965/1.114, allocations: 186.1 kB / 1.154 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=69): time 4.549e-06/1.114, allocations: 7.938 kB / 1.154 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of matching and sorting (n=69): time 0.007345/1.122, allocations: 2.555 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/1.122, allocations: 55.97 kB / 1.156 GB, free: 15.74 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009259/1.131, allocations: 4.799 MB / 1.161 GB, free: 10.95 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003968/1.132, allocations: 53.7 kB / 1.161 GB, free: 10.89 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.002169/1.134, allocations: 2.064 MB / 1.163 GB, free: 8.812 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004829/1.134, allocations: 252.5 kB / 1.163 GB, free: 8.562 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.135, allocations: 201.6 kB / 1.163 GB, free: 8.359 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/1.135, allocations: 301.1 kB / 1.164 GB, free: 8.062 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003386/1.138, allocations: 1.64 MB / 1.165 GB, free: 6.418 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004109/1.142, allocations: 2.645 MB / 1.168 GB, free: 3.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007242/1.15, allocations: 4.182 MB / 1.172 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-05/1.15, allocations: 8 kB / 1.172 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01013/1.16, allocations: 4.562 MB / 1.176 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009308/1.161, allocations: 1.018 MB / 1.177 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.569e-05/1.161, allocations: 39.92 kB / 1.177 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.77e-05/1.161, allocations: 44 kB / 1.177 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/1.165, allocations: 0.6318 MB / 1.178 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/1.168, allocations: 3.007 MB / 1.181 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003805/1.171, allocations: 292.5 kB / 1.181 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004145/1.172, allocations: 187.9 kB / 1.181 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.172, allocations: 4 kB / 1.181 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007426/1.179, allocations: 3.612 MB / 1.185 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-05/1.179, allocations: 32 kB / 1.185 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.655e-05/1.179, allocations: 40 kB / 1.185 GB, free: 0.6484 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003064/1.183, allocations: 0.6673 MB / 1.186 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.343e-05/1.183, allocations: 59.8 kB / 1.186 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/1.186, allocations: 248.3 kB / 1.186 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003718/1.186, allocations: 188 kB / 1.186 GB, free: 15.5 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (228): * Single equations (assignments): 220 * 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.002387/1.189, allocations: 1.129 MB / 1.187 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009846/1.19, allocations: 414.5 kB / 1.188 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006838/1.197, allocations: 2.508 MB / 1.19 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.73e-05/1.197, allocations: 19.98 kB / 1.19 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.197, allocations: 3.938 kB / 1.19 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.197, allocations: 7.984 kB / 1.19 GB, free: 11.38 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.01225/1.209, allocations: 4.913 MB / 1.195 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/1.209, allocations: 3.938 kB / 1.195 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/1.211, allocations: 263.8 kB / 1.195 GB, free: 6.133 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/1.211, allocations: 145.6 kB / 1.195 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.57e-05/1.211, allocations: 31.97 kB / 1.195 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001811/1.213, allocations: 2.675 MB / 1.198 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.213, allocations: 7.969 kB / 1.198 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/1.219, allocations: 2.293 MB / 1.2 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/1.22, allocations: 0.6515 MB / 1.201 GB, free: 168 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00101/1.221, allocations: 20 kB / 1.201 GB, free: 148 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002713/1.224, allocations: 207.7 kB / 1.201 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/1.224, allocations: 60.92 kB / 1.201 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.224, allocations: 55.94 kB / 1.201 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.007362/1.232, allocations: 3.291 MB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.51e-07/1.232, allocations: 0 / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006622/1.238, allocations: 1.684 MB / 1.206 GB, free: 10.86 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 (92): * Single equations (assignments): 78 * 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.001745/1.24, allocations: 0.6221 MB / 1.207 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01276/1.253, allocations: 5.072 MB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/1.253, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003224/1.256, allocations: 0.9281 MB / 1.212 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01351/1.27, allocations: 2.1 MB / 1.214 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/1.287, allocations: 8.413 MB / 1.223 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/1.291, allocations: 2.499 MB / 1.225 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.006799/1.298, allocations: 1.117 MB / 1.226 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/1.299, allocations: 299.3 kB / 1.227 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of SimCode: time 1.213e-06/1.299, allocations: 0 / 1.227 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of Templates: time 0.6953/1.995, allocations: 85.75 MB / 1.31 GB, free: 228.3 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_MoverParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches