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.001554/0.001554, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.00156/0.00156, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.213/2.213, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001308, allocations: 65.42 kB / 0.8132 GB, free: 33.06 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 140.4 MB / 0.9503 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.MoverContinuous): time 0.09103/0.367, allocations: 94.89 MB / 1.043 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.04243/0.4095, allocations: 30.01 MB / 1.072 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006541/0.4161, allocations: 151.2 kB / 1.072 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006234/0.4224, allocations: 2.004 MB / 1.074 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01308/0.4356, allocations: 4.49 MB / 1.079 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.008872/0.4445, allocations: 3.589 MB / 1.082 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.5726/1.017, allocations: 8.83 MB / 1.091 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007113/1.024, allocations: 3.299 MB / 1.094 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01173/1.036, allocations: 3.761 MB / 1.098 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006897/1.043, allocations: 2.762 MB / 1.1 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002071/1.045, allocations: 400.7 kB / 1.101 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008318/1.053, allocations: 2.647 MB / 1.103 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.003227/1.057, allocations: 1.613 MB / 1.105 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00837/1.065, allocations: 2.523 MB / 1.107 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/1.083, allocations: 7.542 MB / 1.115 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.083, allocations: 0 / 1.115 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.324e-06/1.083, allocations: 0 / 1.115 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0003449/1.083, allocations: 4 kB / 1.115 GB, free: 10.88 MB / 0.8575 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.02029/1.104, allocations: 5.579 MB / 1.12 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/1.104, allocations: 8.531 kB / 1.12 GB, free: 8.344 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01002/1.114, allocations: 1.551 MB / 1.122 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/1.129, allocations: 5.08 MB / 1.127 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008954/1.13, allocations: 288.6 kB / 1.127 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/1.131, allocations: 225.4 kB / 1.127 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/1.138, allocations: 3.019 MB / 1.13 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.412e-05/1.138, allocations: 5.344 kB / 1.13 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002555/1.138, allocations: 77.5 kB / 1.13 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/1.138, allocations: 47.69 kB / 1.13 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006409/1.144, allocations: 2.356 MB / 1.133 GB, free: 6.676 MB / 0.8575 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.02374/1.168, allocations: 12.66 MB / 1.145 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/1.174, allocations: 1.899 MB / 1.147 GB, free: 17.28 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002129/1.176, allocations: 0.8571 MB / 1.148 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007775/1.184, allocations: 4.355 MB / 1.152 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/1.184, allocations: 48.78 kB / 1.152 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=79): time 2.916e-06/1.184, allocations: 4 kB / 1.152 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of matching and sorting (n=79): time 0.008098/1.192, allocations: 2.794 MB / 1.155 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/1.192, allocations: 63.34 kB / 1.155 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007753/1.2, allocations: 4.679 MB / 1.159 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007978/1.2, allocations: 54.39 kB / 1.159 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002003/1.202, allocations: 2.039 MB / 1.161 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006101/1.203, allocations: 277 kB / 1.162 GB, free: 10.71 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008391/1.204, allocations: 487.9 kB / 1.162 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.204, allocations: 307.1 kB / 1.162 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003375/1.207, allocations: 1.658 MB / 1.164 GB, free: 9.367 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003886/1.211, allocations: 2.566 MB / 1.167 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006846/1.218, allocations: 4.141 MB / 1.171 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.312e-05/1.218, allocations: 7.906 kB / 1.171 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.009479/1.228, allocations: 4.505 MB / 1.175 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/1.228, allocations: 16.81 kB / 1.175 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.664e-05/1.228, allocations: 27.69 kB / 1.175 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.993e-05/1.228, allocations: 41.31 kB / 1.175 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00364/1.232, allocations: 0.6149 MB / 1.176 GB, free: 2.625 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/1.235, allocations: 2.989 MB / 1.179 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005318/1.24, allocations: 345.4 kB / 1.179 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006672/1.241, allocations: 183 kB / 1.179 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005684/1.246, allocations: 2.27 MB / 1.181 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003723/1.25, allocations: 2.281 MB / 1.184 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006431/1.257, allocations: 3.565 MB / 1.187 GB, free: 9.5 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.033e-05/1.257, allocations: 8 kB / 1.187 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of matching and sorting (n=247) (initialization_lambda0): time 0.009196/1.266, allocations: 3.91 MB / 1.191 GB, free: 5.754 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/1.266, allocations: 17 kB / 1.191 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/1.266, allocations: 29.88 kB / 1.191 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.106e-05/1.266, allocations: 47.94 kB / 1.191 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/1.269, allocations: 0.6402 MB / 1.192 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-05/1.269, allocations: 54.05 kB / 1.192 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003896/1.273, allocations: 267 kB / 1.192 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/1.273, allocations: 172 kB / 1.192 GB, free: 4.586 MB / 0.8887 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.0009075/1.274, allocations: 313.2 kB / 1.192 GB, free: 4.305 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.276, allocations: 402.7 kB / 1.193 GB, free: 3.906 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008473/1.284, allocations: 2.695 MB / 1.195 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.284, allocations: 15.94 kB / 1.195 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/1.285, allocations: 0 / 1.195 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.285, allocations: 7.969 kB / 1.195 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/1.299, allocations: 5.135 MB / 1.2 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/1.299, allocations: 4 kB / 1.2 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001749/1.301, allocations: 310.5 kB / 1.201 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004018/1.302, allocations: 149 kB / 1.201 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.302, allocations: 39.95 kB / 1.201 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/1.304, allocations: 2.665 MB / 1.203 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/1.304, allocations: 288 / 1.203 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006564/1.31, allocations: 2.491 MB / 1.206 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/1.312, allocations: 0.6554 MB / 1.207 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001436/1.314, allocations: 20 kB / 1.207 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.317, allocations: 143.9 kB / 1.207 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.317, allocations: 68.91 kB / 1.207 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001931/1.317, allocations: 63.94 kB / 1.207 GB, free: 5.355 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.007323/1.325, allocations: 3.21 MB / 1.21 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.51e-07/1.325, allocations: 0 / 1.21 GB, free: 2.16 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.009075/1.334, allocations: 1.727 MB / 1.212 GB, free: 436 kB / 0.9044 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.002498/1.336, allocations: 0.6727 MB / 1.212 GB, free: 15.81 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01429/1.351, allocations: 5.19 MB / 1.217 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.351, allocations: 0 / 1.217 GB, free: 10.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003176/1.354, allocations: 1.035 MB / 1.218 GB, free: 9.816 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.013/1.367, allocations: 2.266 MB / 1.221 GB, free: 7.594 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01832/1.385, allocations: 7.409 MB / 1.228 GB, free: 164 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003958/1.389, allocations: 2.48 MB / 1.23 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001594/1.391, allocations: 323.3 kB / 1.231 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of SimCode: time 9.92e-07/1.391, allocations: 0 / 1.231 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of Templates: time 0.191/1.582, allocations: 145.8 MB / 1.373 GB, free: 12.39 MB / 1.076 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