Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Validation.SpeedControlled_y_linear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumFixDp.m_flow|pumFixM_flow.dp",fileNamePrefix="Buildings_9_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_9_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.001008/0.001008, allocations: 91.38 kB / 16.02 MB, free: 80 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.001429/0.001429, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.406/1.406, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000386/0.0003861, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.7994, allocations: 142.4 MB / 0.9557 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05574/0.8552, allocations: 56.33 MB / 1.011 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.8835, allocations: 17.78 MB / 1.028 GB, free: 5.055 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.8877, allocations: 75.5 kB / 1.028 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003891/0.8916, allocations: 0.9675 MB / 1.029 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008342/0.9, allocations: 2.469 MB / 1.031 GB, free: 1.531 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006157/0.9062, allocations: 2.011 MB / 1.033 GB, free: 15.54 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009887/0.9161, allocations: 6.358 MB / 1.04 GB, free: 9.16 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.9198, allocations: 1.471 MB / 1.041 GB, free: 7.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00472/0.9245, allocations: 1.641 MB / 1.043 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.9276, allocations: 1.38 MB / 1.044 GB, free: 4.617 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0006611/0.9283, allocations: 72 kB / 1.044 GB, free: 4.547 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.9332, allocations: 1.871 MB / 1.046 GB, free: 2.672 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.9343, allocations: 498.1 kB / 1.046 GB, free: 2.184 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002488/0.9368, allocations: 0.9689 MB / 1.047 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004856/0.9417, allocations: 2.693 MB / 1.05 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.9417, allocations: 0 / 1.05 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9417, allocations: 3.938 kB / 1.05 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.938e-05/0.9418, allocations: 0 / 1.05 GB, free: 14.5 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.004529/0.9463, allocations: 2.14 MB / 1.052 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.9464, allocations: 11.97 kB / 1.052 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004597/0.951, allocations: 0.7984 MB / 1.053 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005165/0.9562, allocations: 1.989 MB / 1.055 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.9564, allocations: 86.06 kB / 1.055 GB, free: 9.363 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002999/0.9567, allocations: 116 kB / 1.055 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002918/0.9596, allocations: 1.341 MB / 1.056 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.9596, allocations: 0 / 1.056 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.9597, allocations: 48 kB / 1.056 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.636e-05/0.9598, allocations: 28 kB / 1.056 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002864/0.9627, allocations: 1.093 MB / 1.057 GB, free: 6.672 MB / 0.8106 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.009137/0.9718, allocations: 5.966 MB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.9744, allocations: 0.8665 MB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.9755, allocations: 435.4 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004154/0.9797, allocations: 2.532 MB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.9797, allocations: 39.12 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007564/0.9805, allocations: 79.28 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=58): time 6.212e-06/0.9805, allocations: 7.984 kB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of matching and sorting (n=58): time 0.004635/0.9852, allocations: 1.428 MB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.9852, allocations: 55.97 kB / 1.069 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002963/0.9882, allocations: 1.572 MB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.9884, allocations: 41.64 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007966/0.9892, allocations: 0.8307 MB / 1.071 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.9895, allocations: 201.1 kB / 1.071 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.9897, allocations: 77.67 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.9898, allocations: 345.9 kB / 1.072 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.9912, allocations: 477.7 kB / 1.072 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.9928, allocations: 0.8024 MB / 1.073 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.9956, allocations: 1.221 MB / 1.074 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.9956, allocations: 4 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003905/0.9995, allocations: 1.478 MB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.9998, allocations: 338.2 kB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.9998, allocations: 12 kB / 1.076 GB, free: 2.699 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/1, allocations: 104.8 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.001, allocations: 243.6 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006018/1.002, allocations: 0.6147 MB / 1.077 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.004, allocations: 119.9 kB / 1.077 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001759/1.004, allocations: 59.97 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/1.004, allocations: 4 kB / 1.077 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003159/1.007, allocations: 1.181 MB / 1.078 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/1.007, allocations: 12.09 kB / 1.078 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/1.008, allocations: 128.7 kB / 1.078 GB, free: 212 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009733/1.009, allocations: 223.7 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004537/1.013, allocations: 2.634 MB / 1.081 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/1.015, allocations: 112 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002553/1.015, allocations: 63.91 kB / 1.081 GB, free: 12.96 MB / 0.8419 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.001183/1.016, allocations: 488.7 kB / 1.082 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004987/1.017, allocations: 169.8 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/1.021, allocations: 1.354 MB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/1.021, allocations: 11.98 kB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.021, allocations: 0 / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/1.021, allocations: 3.984 kB / 1.083 GB, free: 10.93 MB / 0.8419 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 postOpt removeSimpleEquations (simulation): time 0.006327/1.027, allocations: 2.598 MB / 1.086 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.027, allocations: 4 kB / 1.086 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007853/1.028, allocations: 156.1 kB / 1.086 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/1.028, allocations: 68.75 kB / 1.086 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/1.028, allocations: 23.98 kB / 1.086 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004646/1.029, allocations: 0.6108 MB / 1.086 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.029, allocations: 0 / 1.086 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003134/1.032, allocations: 1.29 MB / 1.088 GB, free: 6.012 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/1.033, allocations: 342.6 kB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003885/1.033, allocations: 12 kB / 1.088 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.034, allocations: 115.8 kB / 1.088 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.035, allocations: 52.38 kB / 1.088 GB, free: 5.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.675e-05/1.035, allocations: 43.97 kB / 1.088 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002078/1.037, allocations: 1.058 MB / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.01e-07/1.037, allocations: 3.938 kB / 1.089 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003425/1.04, allocations: 0.9394 MB / 1.09 GB, free: 3.41 MB / 0.8419 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.001788/1.042, allocations: 0.5882 MB / 1.091 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004908/1.047, allocations: 1.81 MB / 1.093 GB, free: 1.008 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.047, allocations: 4.188 kB / 1.093 GB, free: 1.004 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/1.048, allocations: 499.4 kB / 1.093 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/1.054, allocations: 0.7895 MB / 1.094 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/1.061, allocations: 3.633 MB / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.062, allocations: 1.385 MB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006451/1.063, allocations: 155.4 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of SimCode: time 8.12e-07/1.063, allocations: 0 / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of Templates: time 0.0594/1.122, allocations: 39.65 MB / 1.138 GB, free: 3.062 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches