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.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.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.001726/0.001726, allocations: 108 kB / 15.61 MB, free: 152 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.002144/0.002144, allocations: 194.1 kB / 16.53 MB, free: 6.699 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.467/1.467, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.481/2.481, allocations: 390.2 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 60.03 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7483/0.7496, allocations: 140.4 MB / 0.9496 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.09594/0.8456, allocations: 94.88 MB / 1.042 GB, free: 2.789 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04883/0.8945, allocations: 30.01 MB / 1.072 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008338/0.9028, allocations: 155.2 kB / 1.072 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.008019/0.9109, allocations: 2.009 MB / 1.074 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0144/0.9254, allocations: 4.486 MB / 1.078 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.009701/0.9351, allocations: 3.589 MB / 1.082 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.9489, allocations: 8.848 MB / 1.09 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006015/0.955, allocations: 3.298 MB / 1.093 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008681/0.9637, allocations: 3.752 MB / 1.097 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00596/0.9697, allocations: 2.766 MB / 1.1 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001608/0.9713, allocations: 396 kB / 1.1 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008402/0.9797, allocations: 2.656 MB / 1.103 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.9827, allocations: 1.608 MB / 1.104 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00503/0.9877, allocations: 2.523 MB / 1.107 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01301/1.001, allocations: 7.544 MB / 1.114 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.001, allocations: 0 / 1.114 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.623e-06/1.001, allocations: 0 / 1.114 GB, free: 8.934 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001993/1.001, allocations: 0 / 1.114 GB, free: 8.934 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.01313/1.014, allocations: 5.577 MB / 1.12 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.014, allocations: 8.031 kB / 1.12 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009258/1.023, allocations: 1.544 MB / 1.121 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/1.035, allocations: 5.091 MB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008132/1.036, allocations: 284.7 kB / 1.126 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007884/1.037, allocations: 220 kB / 1.127 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007061/1.044, allocations: 3.021 MB / 1.129 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.824e-05/1.044, allocations: 0 / 1.129 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002311/1.044, allocations: 80 kB / 1.13 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/1.044, allocations: 52 kB / 1.13 GB, free: 8.824 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006622/1.051, allocations: 2.356 MB / 1.132 GB, free: 6.465 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.02135/1.072, allocations: 12.66 MB / 1.144 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005634/1.078, allocations: 1.901 MB / 1.146 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00225/1.08, allocations: 0.8598 MB / 1.147 GB, free: 6.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007066/1.087, allocations: 4.359 MB / 1.151 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/1.087, allocations: 43.22 kB / 1.151 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=79): time 2.715e-06/1.087, allocations: 0 / 1.151 GB, free: 1.672 MB / 0.9044 GB Notification: Performance of matching and sorting (n=79): time 0.008158/1.095, allocations: 2.796 MB / 1.154 GB, free: 14.86 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/1.096, allocations: 60.06 kB / 1.154 GB, free: 14.79 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006942/1.103, allocations: 4.681 MB / 1.159 GB, free: 10.12 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0004814/1.103, allocations: 53.7 kB / 1.159 GB, free: 10.06 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001918/1.105, allocations: 2.037 MB / 1.161 GB, free: 8.004 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004874/1.105, allocations: 280 kB / 1.161 GB, free: 7.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007826/1.106, allocations: 495 kB / 1.161 GB, free: 7.234 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001112/1.106, allocations: 305.1 kB / 1.162 GB, free: 6.934 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00325/1.11, allocations: 1.656 MB / 1.163 GB, free: 5.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004017/1.114, allocations: 2.57 MB / 1.166 GB, free: 2.273 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007573/1.121, allocations: 4.138 MB / 1.17 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.043e-05/1.121, allocations: 12 kB / 1.17 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009631/1.131, allocations: 4.499 MB / 1.174 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.034e-05/1.131, allocations: 16 kB / 1.174 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.023e-05/1.131, allocations: 28 kB / 1.174 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.997e-05/1.131, allocations: 36 kB / 1.174 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/1.135, allocations: 0.6247 MB / 1.175 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/1.137, allocations: 2.992 MB / 1.178 GB, free: 5.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004042/1.141, allocations: 354.1 kB / 1.178 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004405/1.142, allocations: 179.9 kB / 1.178 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005033/1.147, allocations: 2.272 MB / 1.181 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003761/1.151, allocations: 2.276 MB / 1.183 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006872/1.158, allocations: 3.568 MB / 1.186 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-05/1.158, allocations: 8 kB / 1.186 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.009015/1.167, allocations: 3.91 MB / 1.19 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/1.167, allocations: 19.94 kB / 1.19 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.19e-05/1.167, allocations: 28 kB / 1.19 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/1.167, allocations: 40 kB / 1.19 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003072/1.17, allocations: 0.6398 MB / 1.191 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.774e-05/1.17, allocations: 55.8 kB / 1.191 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003571/1.174, allocations: 259.2 kB / 1.191 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004126/1.174, allocations: 172 kB / 1.191 GB, free: 6.844 MB / 0.9512 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 (216): * Single equations (assignments): 208 * 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.0007651/1.175, allocations: 319.4 kB / 1.192 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001326/1.176, allocations: 406.6 kB / 1.192 GB, free: 6.121 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007317/1.183, allocations: 2.692 MB / 1.195 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/1.183, allocations: 12 kB / 1.195 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.184, allocations: 0 / 1.195 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.184, allocations: 7.969 kB / 1.195 GB, free: 3.391 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.195, allocations: 5.146 MB / 1.2 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/1.195, allocations: 4 kB / 1.2 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.197, allocations: 315.6 kB / 1.2 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/1.197, allocations: 145.6 kB / 1.2 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.041e-05/1.197, allocations: 35.95 kB / 1.2 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00191/1.199, allocations: 2.679 MB / 1.203 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.199, allocations: 0 / 1.203 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0063/1.206, allocations: 2.488 MB / 1.205 GB, free: 8.371 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00224/1.208, allocations: 0.6554 MB / 1.206 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.209, allocations: 16 kB / 1.206 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.211, allocations: 151.8 kB / 1.206 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/1.211, allocations: 64.91 kB / 1.206 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.212, allocations: 71.92 kB / 1.206 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00591/1.217, allocations: 3.202 MB / 1.209 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4.61e-07/1.217, allocations: 0 / 1.209 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.006329/1.224, allocations: 1.723 MB / 1.211 GB, free: 2.48 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 (102): * Single equations (assignments): 88 * 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.001583/1.225, allocations: 0.6548 MB / 1.212 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.239, allocations: 5.196 MB / 1.217 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.239, allocations: 0.5 kB / 1.217 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003012/1.242, allocations: 1.036 MB / 1.218 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01007/1.252, allocations: 2.271 MB / 1.22 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/1.265, allocations: 7.255 MB / 1.227 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002524/1.267, allocations: 2.527 MB / 1.229 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006112/1.274, allocations: 1.09 MB / 1.231 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009026/1.274, allocations: 307.2 kB / 1.231 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.275, allocations: 7.938 kB / 1.231 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of Templates: time 0.6601/1.935, allocations: 90.7 MB / 1.319 GB, free: 220.1 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.MoverContinuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches