Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001556/0.001556, allocations: 106.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.001651/0.001651, allocations: 189.8 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.678/2.678, allocations: 469.8 MB / 0.743 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 65.42 kB / 0.9092 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 159.1 MB / 1.065 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves): time 0.6698/0.9887, allocations: 106.5 MB / 1.169 GB, free: 4 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.06206/1.051, allocations: 35.48 MB / 1.203 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009593/1.06, allocations: 161.5 kB / 1.203 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.03261/1.093, allocations: 18.58 MB / 1.222 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01732/1.11, allocations: 5.383 MB / 1.227 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/1.122, allocations: 4.064 MB / 1.231 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.05241/1.174, allocations: 31.92 MB / 1.262 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008301/1.182, allocations: 3.575 MB / 1.265 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01227/1.195, allocations: 4.174 MB / 1.269 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007044/1.202, allocations: 3.322 MB / 1.273 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.002145/1.204, allocations: 460 kB / 1.273 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009243/1.213, allocations: 2.972 MB / 1.276 GB, free: 316 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003548/1.217, allocations: 1.92 MB / 1.278 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.007476/1.224, allocations: 3.059 MB / 1.281 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01906/1.243, allocations: 9.225 MB / 1.29 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.243, allocations: 0 / 1.29 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.923e-06/1.243, allocations: 0 / 1.29 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000328/1.244, allocations: 0 / 1.29 GB, free: 2.055 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 545 * Number of variables: 545 Notification: Performance of Generate backend data structure: time 0.01807/1.262, allocations: 6.398 MB / 1.296 GB, free: 11.53 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.262, allocations: 12.03 kB / 1.296 GB, free: 11.52 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01207/1.274, allocations: 1.905 MB / 1.298 GB, free: 9.605 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01886/1.293, allocations: 7.308 MB / 1.305 GB, free: 2.207 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003645/1.293, allocations: 201.3 kB / 1.305 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009214/1.294, allocations: 248 kB / 1.306 GB, free: 1.766 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007363/1.302, allocations: 3.411 MB / 1.309 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.076e-05/1.302, allocations: 4 kB / 1.309 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002739/1.302, allocations: 88 kB / 1.309 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/1.302, allocations: 52 kB / 1.309 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007169/1.309, allocations: 2.592 MB / 1.312 GB, free: 11.46 MB / 1.029 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.02763/1.337, allocations: 15.31 MB / 1.327 GB, free: 11.25 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006953/1.344, allocations: 2.441 MB / 1.329 GB, free: 8.805 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/1.347, allocations: 1.051 MB / 1.33 GB, free: 7.75 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/1.357, allocations: 5.403 MB / 1.335 GB, free: 2.02 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/1.358, allocations: 47.56 kB / 1.335 GB, free: 1.965 MB / 1.045 GB Notification: Performance of pre-optimization done (n=115): time 3.727e-06/1.358, allocations: 0 / 1.335 GB, free: 1.965 MB / 1.045 GB Notification: Performance of matching and sorting (n=115): time 0.0135/1.371, allocations: 4.241 MB / 1.339 GB, free: 13.63 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.371, allocations: 68.41 kB / 1.34 GB, free: 13.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01028/1.381, allocations: 5.669 MB / 1.345 GB, free: 7.879 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0006143/1.382, allocations: 61.7 kB / 1.345 GB, free: 7.812 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.002872/1.385, allocations: 2.294 MB / 1.347 GB, free: 5.5 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008903/1.386, allocations: 418.2 kB / 1.348 GB, free: 5.086 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001728/1.388, allocations: 0.9114 MB / 1.349 GB, free: 4.168 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001509/1.388, allocations: 301.1 kB / 1.349 GB, free: 3.871 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005354/1.393, allocations: 2.907 MB / 1.352 GB, free: 0.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006527/1.4, allocations: 3.797 MB / 1.355 GB, free: 12.83 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01136/1.411, allocations: 6.189 MB / 1.362 GB, free: 6.367 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/1.411, allocations: 4 kB / 1.362 GB, free: 6.363 MB / 1.076 GB Notification: Performance of matching and sorting (n=503) (initialization): time 0.01595/1.427, allocations: 7.816 MB / 1.369 GB, free: 14.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.91e-05/1.427, allocations: 12.97 kB / 1.369 GB, free: 14.49 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/1.427, allocations: 16 kB / 1.369 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002334/1.43, allocations: 0.9871 MB / 1.37 GB, free: 13.47 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.433, allocations: 0.6786 MB / 1.371 GB, free: 12.79 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/1.436, allocations: 2.97 MB / 1.374 GB, free: 9.719 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004588/1.441, allocations: 477.8 kB / 1.374 GB, free: 9.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006615/1.441, allocations: 223.9 kB / 1.374 GB, free: 9.031 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006761/1.448, allocations: 3.525 MB / 1.378 GB, free: 5.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005352/1.454, allocations: 3.317 MB / 1.381 GB, free: 1.844 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009335/1.463, allocations: 5.24 MB / 1.386 GB, free: 12.34 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.069e-05/1.463, allocations: 8 kB / 1.386 GB, free: 12.33 MB / 1.107 GB Notification: Performance of matching and sorting (n=503) (initialization_lambda0): time 0.01485/1.478, allocations: 6.941 MB / 1.393 GB, free: 5.348 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.353e-05/1.478, allocations: 23.91 kB / 1.393 GB, free: 5.324 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/1.478, allocations: 16 kB / 1.393 GB, free: 5.309 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003262/1.481, allocations: 1.081 MB / 1.394 GB, free: 4.215 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003022/1.484, allocations: 0.6513 MB / 1.395 GB, free: 3.562 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02359/1.508, allocations: 16.54 MB / 1.411 GB, free: 2.348 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005179/1.513, allocations: 383.9 kB / 1.411 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000701/1.514, allocations: 191.9 kB / 1.411 GB, free: 1.781 MB / 1.123 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 (339): * Single equations (assignments): 327 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0008511/1.515, allocations: 338 kB / 1.412 GB, free: 1.445 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.516, allocations: 497.3 kB / 1.412 GB, free: 0.9531 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009326/1.525, allocations: 3.554 MB / 1.416 GB, free: 13.37 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-05/1.525, allocations: 19.94 kB / 1.416 GB, free: 13.35 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/1.525, allocations: 0 / 1.416 GB, free: 13.35 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.928e-05/1.525, allocations: 7.969 kB / 1.416 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/1.541, allocations: 6.522 MB / 1.422 GB, free: 6.734 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/1.541, allocations: 4 kB / 1.422 GB, free: 6.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001814/1.543, allocations: 315.6 kB / 1.422 GB, free: 6.422 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/1.544, allocations: 454.9 kB / 1.423 GB, free: 5.965 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001456/1.544, allocations: 59.94 kB / 1.423 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/1.547, allocations: 2.806 MB / 1.426 GB, free: 2.996 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.547, allocations: 0 / 1.426 GB, free: 2.996 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008511/1.555, allocations: 3.277 MB / 1.429 GB, free: 15.67 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002415/1.558, allocations: 0.8141 MB / 1.43 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009982/1.559, allocations: 28 kB / 1.43 GB, free: 14.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002575/1.561, allocations: 159.8 kB / 1.43 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.562, allocations: 101.1 kB / 1.43 GB, free: 14.55 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/1.562, allocations: 91.92 kB / 1.43 GB, free: 14.46 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00695/1.569, allocations: 3.747 MB / 1.434 GB, free: 10.72 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.01e-07/1.569, allocations: 4 kB / 1.434 GB, free: 10.71 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008176/1.577, allocations: 2.398 MB / 1.436 GB, free: 8.312 MB / 1.154 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 (121): * Single equations (assignments): 107 * 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.002374/1.579, allocations: 0.9433 MB / 1.437 GB, free: 7.371 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0182/1.598, allocations: 8.484 MB / 1.445 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.598, allocations: 1.938 kB / 1.445 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/1.601, allocations: 1.222 MB / 1.446 GB, free: 13.61 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0115/1.613, allocations: 2.542 MB / 1.449 GB, free: 11.14 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01785/1.63, allocations: 8.946 MB / 1.458 GB, free: 2.148 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003086/1.634, allocations: 2.914 MB / 1.46 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001845/1.635, allocations: 415.2 kB / 1.461 GB, free: 14.79 MB / 1.186 GB Notification: Performance of SimCode: time 3.226e-06/1.635, allocations: 0 / 1.461 GB, free: 14.79 MB / 1.186 GB Notification: Performance of Templates: time 0.7329/2.368, allocations: 177.4 MB / 1.634 GB, free: 389.2 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches