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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009674/0.0009674, allocations: 99.11 kB / 16.02 MB, free: 76 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.001407/0.001407, allocations: 180.9 kB / 16.92 MB, free: 6.918 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.47/1.47, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.438/2.438, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003734, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6942/0.6946, allocations: 142.4 MB / 0.9557 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.0998/0.7944, allocations: 92.6 MB / 1.046 GB, free: 2.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.05101/0.8455, allocations: 29.73 MB / 1.075 GB, free: 4.742 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008047/0.8536, allocations: 135.1 kB / 1.075 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.006834/0.8604, allocations: 1.696 MB / 1.077 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.8754, allocations: 4.174 MB / 1.081 GB, free: 14.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01077/0.8862, allocations: 3.272 MB / 1.084 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0179/0.9041, allocations: 11.83 MB / 1.096 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007174/0.9113, allocations: 2.758 MB / 1.098 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009768/0.9211, allocations: 3.146 MB / 1.102 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006183/0.9274, allocations: 2.742 MB / 1.104 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001636/0.929, allocations: 160 kB / 1.104 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00743/0.9365, allocations: 2.398 MB / 1.107 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002837/0.9394, allocations: 1.374 MB / 1.108 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.005677/0.9451, allocations: 2.255 MB / 1.11 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9554, allocations: 5.821 MB / 1.116 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9555, allocations: 0 / 1.116 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 4.318e-06/0.9555, allocations: 0 / 1.116 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002908/0.9558, allocations: 0 / 1.116 GB, free: 10.84 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.01314/0.969, allocations: 5.066 MB / 1.121 GB, free: 5.695 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.969, allocations: 8.031 kB / 1.121 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009578/0.9786, allocations: 1.669 MB / 1.123 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01466/0.9934, allocations: 5.216 MB / 1.128 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008464/0.9943, allocations: 304.7 kB / 1.128 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008605/0.9951, allocations: 220 kB / 1.128 GB, free: 14.2 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/1.003, allocations: 3.044 MB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.864e-05/1.003, allocations: 4 kB / 1.131 GB, free: 11.08 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/1.004, allocations: 84 kB / 1.131 GB, free: 11 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-05/1.004, allocations: 51.94 kB / 1.131 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006944/1.011, allocations: 2.435 MB / 1.134 GB, free: 8.512 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.0238/1.035, allocations: 12.38 MB / 1.146 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00618/1.041, allocations: 2.011 MB / 1.148 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/1.043, allocations: 0.9172 MB / 1.149 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008895/1.052, allocations: 4.437 MB / 1.153 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/1.052, allocations: 39.56 kB / 1.153 GB, free: 3.785 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001877/1.054, allocations: 194.3 kB / 1.153 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=83): time 6.162e-06/1.054, allocations: 0 / 1.153 GB, free: 3.594 MB / 0.9044 GB Notification: Performance of matching and sorting (n=83): time 0.009079/1.063, allocations: 2.955 MB / 1.156 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/1.064, allocations: 64.41 kB / 1.156 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.074, allocations: 4.626 MB / 1.161 GB, free: 11.94 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005223/1.074, allocations: 53.7 kB / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.00233/1.077, allocations: 2.037 MB / 1.163 GB, free: 9.824 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000655/1.077, allocations: 299.8 kB / 1.163 GB, free: 9.527 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005466/1.078, allocations: 197.6 kB / 1.163 GB, free: 9.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001231/1.078, allocations: 301.1 kB / 1.163 GB, free: 9.031 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003721/1.082, allocations: 1.694 MB / 1.165 GB, free: 7.336 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004337/1.086, allocations: 2.615 MB / 1.168 GB, free: 4.281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007876/1.094, allocations: 4.244 MB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.799e-05/1.094, allocations: 8 kB / 1.172 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=251) (initialization): time 0.01072/1.105, allocations: 4.605 MB / 1.176 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.000917/1.106, allocations: 0.9191 MB / 1.177 GB, free: 9.715 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.682e-05/1.106, allocations: 28 kB / 1.177 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.348e-05/1.106, allocations: 43.94 kB / 1.177 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003973/1.11, allocations: 0.6319 MB / 1.178 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/1.113, allocations: 2.988 MB / 1.181 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004139/1.117, allocations: 252.5 kB / 1.181 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006212/1.118, allocations: 179.9 kB / 1.181 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/1.118, allocations: 5.719 kB / 1.181 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008102/1.126, allocations: 3.608 MB / 1.185 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.621e-05/1.126, allocations: 32.81 kB / 1.185 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/1.126, allocations: 40 kB / 1.185 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/1.129, allocations: 0.6592 MB / 1.185 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.979e-05/1.129, allocations: 55.8 kB / 1.185 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003706/1.133, allocations: 248.3 kB / 1.186 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005382/1.134, allocations: 179.9 kB / 1.186 GB, free: 0.6875 MB / 0.9356 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.002766/1.136, allocations: 1.113 MB / 1.187 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/1.138, allocations: 410.6 kB / 1.187 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007742/1.145, allocations: 2.793 MB / 1.19 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/1.145, allocations: 15.98 kB / 1.19 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/1.145, allocations: 0 / 1.19 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.145, allocations: 7.922 kB / 1.19 GB, free: 12.32 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.01453/1.16, allocations: 5.304 MB / 1.195 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/1.16, allocations: 0 / 1.195 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001846/1.162, allocations: 331.5 kB / 1.196 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004317/1.162, allocations: 141.6 kB / 1.196 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/1.162, allocations: 47.95 kB / 1.196 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001868/1.164, allocations: 2.671 MB / 1.198 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/1.164, allocations: 0 / 1.198 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006708/1.171, allocations: 2.562 MB / 1.201 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002046/1.173, allocations: 0.6554 MB / 1.201 GB, free: 384 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001115/1.174, allocations: 24 kB / 1.202 GB, free: 360 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003082/1.177, allocations: 215.6 kB / 1.202 GB, free: 144 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.178, allocations: 76.89 kB / 1.202 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002307/1.178, allocations: 68 kB / 1.202 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.006731/1.185, allocations: 3.167 MB / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 5.61e-07/1.185, allocations: 0 / 1.205 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.007555/1.192, allocations: 1.704 MB / 1.207 GB, free: 11.14 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.002008/1.194, allocations: 0.626 MB / 1.207 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01344/1.208, allocations: 5.267 MB / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/1.208, allocations: 128 / 1.212 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.003196/1.211, allocations: 1.075 MB / 1.213 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/1.223, allocations: 2.107 MB / 1.215 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01709/1.24, allocations: 8.733 MB / 1.224 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/1.243, allocations: 2.492 MB / 1.226 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/1.245, allocations: 327.2 kB / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of SimCode: time 1.142e-06/1.245, allocations: 0 / 1.227 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of Templates: time 0.7304/1.975, allocations: 144.4 MB / 1.368 GB, free: 169.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches