Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001332, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001291/0.001291, allocations: 183.9 kB / 17.19 MB, free: 5.688 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.318/1.318, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.21/2.21, allocations: 390.3 MB / 0.6653 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 65.52 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2769, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.1166/0.3936, allocations: 105 MB / 1.053 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.6036/0.9972, allocations: 32.94 MB / 1.085 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007106/1.004, allocations: 155.1 kB / 1.085 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006885/1.011, allocations: 2.017 MB / 1.087 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01559/1.027, allocations: 5.02 MB / 1.092 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.01184/1.039, allocations: 3.898 MB / 1.096 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0189/1.058, allocations: 9.523 MB / 1.105 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01217/1.07, allocations: 3.52 MB / 1.109 GB, free: 23.39 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01311/1.083, allocations: 4.009 MB / 1.112 GB, free: 23.18 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007817/1.091, allocations: 3.052 MB / 1.115 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.002447/1.093, allocations: 412.4 kB / 1.116 GB, free: 22.66 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009303/1.103, allocations: 2.627 MB / 1.118 GB, free: 22.62 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003093/1.106, allocations: 1.327 MB / 1.12 GB, free: 22.45 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.007275/1.113, allocations: 2.362 MB / 1.122 GB, free: 21.77 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01675/1.13, allocations: 7.349 MB / 1.129 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.13, allocations: 0 / 1.129 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.685e-06/1.13, allocations: 0 / 1.129 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0002851/1.13, allocations: 1.281 kB / 1.129 GB, free: 20.81 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: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.01803/1.148, allocations: 5.085 MB / 1.134 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.148, allocations: 9.625 kB / 1.134 GB, free: 18.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/1.159, allocations: 1.515 MB / 1.136 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/1.173, allocations: 4.282 MB / 1.14 GB, free: 17.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003456/1.173, allocations: 185.4 kB / 1.14 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001276/1.174, allocations: 234.3 kB / 1.14 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009017/1.183, allocations: 2.83 MB / 1.143 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/1.184, allocations: 5.125 kB / 1.143 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006642/1.184, allocations: 87.44 kB / 1.143 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.825e-05/1.184, allocations: 54.06 kB / 1.143 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006689/1.191, allocations: 2.136 MB / 1.145 GB, free: 16.89 MB / 0.8731 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.02419/1.215, allocations: 12.94 MB / 1.158 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004838/1.22, allocations: 1.686 MB / 1.159 GB, free: 6.133 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/1.222, allocations: 0.7954 MB / 1.16 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009055/1.231, allocations: 4.078 MB / 1.164 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.152e-05/1.232, allocations: 53.72 kB / 1.164 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 3.667e-06/1.232, allocations: 0 / 1.164 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107): time 0.0114/1.243, allocations: 3.279 MB / 1.167 GB, free: 320 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/1.243, allocations: 65.33 kB / 1.168 GB, free: 256 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008419/1.251, allocations: 3.479 MB / 1.171 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0006285/1.252, allocations: 58.86 kB / 1.171 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002309/1.254, allocations: 1.783 MB / 1.173 GB, free: 12.8 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008722/1.255, allocations: 378.2 kB / 1.173 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001794/1.257, allocations: 466.5 kB / 1.174 GB, free: 12.24 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001253/1.257, allocations: 303.5 kB / 1.174 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003117/1.26, allocations: 1.276 MB / 1.175 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003657/1.264, allocations: 1.959 MB / 1.177 GB, free: 9.816 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006448/1.271, allocations: 3.113 MB / 1.18 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.447e-05/1.271, allocations: 4.5 kB / 1.18 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.009825/1.28, allocations: 3.933 MB / 1.184 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/1.281, allocations: 12.84 kB / 1.184 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/1.281, allocations: 21.34 kB / 1.184 GB, free: 6.07 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/1.283, allocations: 0.7273 MB / 1.185 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.285, allocations: 464.3 kB / 1.185 GB, free: 5.625 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/1.288, allocations: 2.759 MB / 1.188 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/1.292, allocations: 300.9 kB / 1.188 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006324/1.292, allocations: 158.5 kB / 1.188 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004659/1.297, allocations: 1.749 MB / 1.19 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003145/1.3, allocations: 1.772 MB / 1.192 GB, free: 276 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005365/1.305, allocations: 2.734 MB / 1.194 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.636e-05/1.305, allocations: 4 kB / 1.194 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=239) (initialization_lambda0): time 0.009323/1.315, allocations: 3.618 MB / 1.198 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.315, allocations: 16 kB / 1.198 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/1.315, allocations: 20.16 kB / 1.198 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002793/1.318, allocations: 0.8608 MB / 1.199 GB, free: 8.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/1.32, allocations: 434 kB / 1.199 GB, free: 8.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/1.338, allocations: 13.82 MB / 1.213 GB, free: 10.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/1.342, allocations: 229.5 kB / 1.213 GB, free: 9.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006738/1.343, allocations: 136 kB / 1.213 GB, free: 9.773 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 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): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00112/1.344, allocations: 289.2 kB / 1.213 GB, free: 9.508 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/1.345, allocations: 363.2 kB / 1.214 GB, free: 9.148 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008309/1.354, allocations: 2.823 MB / 1.216 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.863e-05/1.354, allocations: 19.98 kB / 1.216 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.354, allocations: 0 / 1.216 GB, free: 6.312 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.354, allocations: 7.984 kB / 1.216 GB, free: 6.305 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/1.368, allocations: 5.054 MB / 1.221 GB, free: 1.215 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.368, allocations: 7.984 kB / 1.221 GB, free: 1.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.37, allocations: 273 kB / 1.222 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/1.371, allocations: 388.3 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001836/1.371, allocations: 47.95 kB / 1.222 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/1.373, allocations: 2.629 MB / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.373, allocations: 0 / 1.225 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/1.38, allocations: 2.588 MB / 1.227 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001961/1.382, allocations: 0.6091 MB / 1.228 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001074/1.383, allocations: 24 kB / 1.228 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002673/1.386, allocations: 127.8 kB / 1.228 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002026/1.386, allocations: 88.28 kB / 1.228 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001991/1.386, allocations: 71.94 kB / 1.228 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005114/1.391, allocations: 2.326 MB / 1.23 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/1.391, allocations: 0 / 1.23 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00834/1.4, allocations: 1.797 MB / 1.232 GB, free: 6.113 MB / 0.9356 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 (113): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 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): 4 systems {(1,5), (1,5), (1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002522/1.402, allocations: 0.7632 MB / 1.233 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.416, allocations: 4.785 MB / 1.237 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/1.416, allocations: 3.156 kB / 1.237 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003017/1.419, allocations: 0.9795 MB / 1.238 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01037/1.429, allocations: 1.764 MB / 1.24 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/1.445, allocations: 6.322 MB / 1.246 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.449, allocations: 2.248 MB / 1.248 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.45, allocations: 303.3 kB / 1.249 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of SimCode: time 1.032e-06/1.45, allocations: 0 / 1.249 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of Templates: time 0.1662/1.616, allocations: 132.1 MB / 1.378 GB, free: 1.629 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches