Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") translateModel(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006998/0.006998, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.00132/0.00132, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.661/2.661, allocations: 472.6 MB / 0.7453 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.89 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8038/0.8053, allocations: 159.9 MB / 1.226 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05957/0.8649, allocations: 58.58 MB / 1.283 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02881/0.8937, allocations: 19.92 MB / 1.302 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004062/0.8979, allocations: 91.5 kB / 1.302 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.006035/0.9039, allocations: 1.998 MB / 1.304 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009677/0.9136, allocations: 2.951 MB / 1.307 GB, free: 9.781 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006705/0.9204, allocations: 2.346 MB / 1.309 GB, free: 7.445 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02133/0.9417, allocations: 14.41 MB / 1.324 GB, free: 9.016 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.945, allocations: 1.815 MB / 1.325 GB, free: 7.168 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005142/0.9502, allocations: 2.107 MB / 1.327 GB, free: 5.059 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003152/0.9533, allocations: 1.572 MB / 1.329 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008401/0.9542, allocations: 212 kB / 1.329 GB, free: 3.273 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005551/0.9597, allocations: 2.351 MB / 1.331 GB, free: 0.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.9611, allocations: 0.8918 MB / 1.332 GB, free: 24 kB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002339/0.9635, allocations: 1.419 MB / 1.334 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.008199/0.9717, allocations: 4.694 MB / 1.338 GB, free: 9.887 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9717, allocations: 0 / 1.338 GB, free: 9.887 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9717, allocations: 0 / 1.338 GB, free: 9.887 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.107e-05/0.9718, allocations: 0 / 1.338 GB, free: 9.887 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.005784/0.9776, allocations: 3.367 MB / 1.342 GB, free: 6.438 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9777, allocations: 8.031 kB / 1.342 GB, free: 6.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005513/0.9832, allocations: 0.9581 MB / 1.342 GB, free: 5.469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008174/0.9914, allocations: 3.589 MB / 1.346 GB, free: 1.812 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.9915, allocations: 86.09 kB / 1.346 GB, free: 1.727 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.9918, allocations: 120 kB / 1.346 GB, free: 1.609 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.995, allocations: 1.526 MB / 1.348 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.995, allocations: 0 / 1.348 GB, free: 12 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.9952, allocations: 44.08 kB / 1.348 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.372e-05/0.9952, allocations: 24 kB / 1.348 GB, free: 15.94 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003278/0.9985, allocations: 1.335 MB / 1.349 GB, free: 14.61 MB / 1.076 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.01025/1.009, allocations: 7.171 MB / 1.356 GB, free: 7 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/1.011, allocations: 1.029 MB / 1.357 GB, free: 5.965 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/1.013, allocations: 0.4998 MB / 1.358 GB, free: 5.461 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004048/1.017, allocations: 3.028 MB / 1.36 GB, free: 2.148 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/1.017, allocations: 43.06 kB / 1.361 GB, free: 2.098 MB / 1.076 GB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/1.017, allocations: 0 / 1.361 GB, free: 2.098 MB / 1.076 GB Notification: Performance of matching and sorting (n=58): time 0.004777/1.022, allocations: 1.713 MB / 1.362 GB, free: 368 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/1.022, allocations: 67.95 kB / 1.362 GB, free: 284 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003805/1.025, allocations: 2.663 MB / 1.365 GB, free: 13.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/1.026, allocations: 41.7 kB / 1.365 GB, free: 13.55 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008854/1.027, allocations: 1.061 MB / 1.366 GB, free: 12.48 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/1.027, allocations: 226.2 kB / 1.366 GB, free: 12.26 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006073/1.027, allocations: 447.2 kB / 1.367 GB, free: 11.82 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/1.028, allocations: 305.1 kB / 1.367 GB, free: 11.52 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/1.03, allocations: 1.149 MB / 1.368 GB, free: 10.36 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/1.032, allocations: 1.571 MB / 1.37 GB, free: 8.637 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00412/1.036, allocations: 2.461 MB / 1.372 GB, free: 6.066 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.036, allocations: 0 / 1.372 GB, free: 6.066 MB / 1.092 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.00576/1.042, allocations: 3.05 MB / 1.375 GB, free: 3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.042, allocations: 12 kB / 1.375 GB, free: 2.988 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.042, allocations: 8 kB / 1.375 GB, free: 2.98 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/1.042, allocations: 104.8 kB / 1.375 GB, free: 2.875 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.044, allocations: 351.6 kB / 1.375 GB, free: 2.531 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005749/1.044, allocations: 0.6148 MB / 1.376 GB, free: 1.891 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.047, allocations: 243.2 kB / 1.376 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001839/1.047, allocations: 99.95 kB / 1.376 GB, free: 1.555 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002793/1.05, allocations: 1.503 MB / 1.378 GB, free: 48 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002153/1.052, allocations: 1.368 MB / 1.379 GB, free: 14.52 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00356/1.055, allocations: 2.09 MB / 1.381 GB, free: 12.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.09e-05/1.055, allocations: 4 kB / 1.381 GB, free: 12.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005677/1.061, allocations: 2.683 MB / 1.384 GB, free: 9.629 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.061, allocations: 11.94 kB / 1.384 GB, free: 9.617 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.061, allocations: 8 kB / 1.384 GB, free: 9.609 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005167/1.062, allocations: 129.1 kB / 1.384 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/1.063, allocations: 327.5 kB / 1.384 GB, free: 9.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/1.067, allocations: 2.837 MB / 1.387 GB, free: 6.113 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.069, allocations: 201.2 kB / 1.387 GB, free: 5.918 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002133/1.07, allocations: 83.97 kB / 1.387 GB, free: 5.836 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (164): * Single equations (assignments): 159 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004327/1.07, allocations: 255.8 kB / 1.387 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000474/1.071, allocations: 246.3 kB / 1.388 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004118/1.075, allocations: 1.587 MB / 1.389 GB, free: 3.738 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/1.075, allocations: 15.92 kB / 1.389 GB, free: 3.723 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/1.075, allocations: 0 / 1.389 GB, free: 3.723 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.075, allocations: 3.984 kB / 1.389 GB, free: 3.719 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00642/1.081, allocations: 3.141 MB / 1.392 GB, free: 496 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.081, allocations: 0 / 1.392 GB, free: 496 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008982/1.082, allocations: 172 kB / 1.393 GB, free: 324 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/1.082, allocations: 60.83 kB / 1.393 GB, free: 260 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/1.082, allocations: 35.97 kB / 1.393 GB, free: 224 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004737/1.083, allocations: 0.6069 MB / 1.393 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.083, allocations: 0 / 1.393 GB, free: 15.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003547/1.087, allocations: 1.545 MB / 1.395 GB, free: 13.99 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009317/1.087, allocations: 459 kB / 1.395 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002561/1.088, allocations: 12 kB / 1.395 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.089, allocations: 83.91 kB / 1.395 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/1.089, allocations: 56.42 kB / 1.395 GB, free: 13.38 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/1.089, allocations: 51.95 kB / 1.395 GB, free: 13.32 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002872/1.092, allocations: 1.776 MB / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.9e-07/1.092, allocations: 0 / 1.397 GB, free: 11.55 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003475/1.096, allocations: 1.259 MB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/1.097, allocations: 0.7816 MB / 1.399 GB, free: 9.504 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006898/1.104, allocations: 3.468 MB / 1.402 GB, free: 6.027 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.104, allocations: 0 / 1.402 GB, free: 6.027 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001545/1.106, allocations: 0.5934 MB / 1.403 GB, free: 5.438 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/1.111, allocations: 1.235 MB / 1.404 GB, free: 4.25 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/1.118, allocations: 4.168 MB / 1.408 GB, free: 16 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.119, allocations: 1.74 MB / 1.41 GB, free: 14.25 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.00261/1.122, allocations: 0.697 MB / 1.411 GB, free: 13.55 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005543/1.122, allocations: 199.3 kB / 1.411 GB, free: 13.35 MB / 1.139 GB Notification: Performance of SimCode: time 7.92e-07/1.122, allocations: 7.938 kB / 1.411 GB, free: 13.34 MB / 1.139 GB Notification: Performance of Templates: time 0.08437/1.207, allocations: 53.83 MB / 1.463 GB, free: 8.062 MB / 1.186 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches