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.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.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.0008526/0.0008526, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006179/0.006179, allocations: 170.9 kB / 16.26 MB, free: 6.613 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.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.527/2.527, allocations: 390.9 MB / 0.6663 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 8 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6882/0.6887, allocations: 142.4 MB / 0.955 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05362/0.7423, allocations: 56.33 MB / 1.01 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02526/0.7676, allocations: 17.76 MB / 1.027 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.7707, allocations: 75.5 kB / 1.027 GB, free: 5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002967/0.7736, allocations: 0.9714 MB / 1.028 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007317/0.781, allocations: 2.476 MB / 1.031 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.005756/0.7867, allocations: 2.006 MB / 1.033 GB, free: 15.55 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.008261/0.795, allocations: 6.367 MB / 1.039 GB, free: 9.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002488/0.7975, allocations: 1.459 MB / 1.04 GB, free: 7.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003696/0.8012, allocations: 1.637 MB / 1.042 GB, free: 6.023 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.8036, allocations: 1.388 MB / 1.043 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/0.804, allocations: 75.94 kB / 1.043 GB, free: 4.555 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005233/0.8092, allocations: 1.875 MB / 1.045 GB, free: 2.676 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001413/0.8107, allocations: 494.1 kB / 1.046 GB, free: 2.191 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002459/0.8132, allocations: 0.9689 MB / 1.047 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006037/0.8192, allocations: 3.477 MB / 1.05 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8192, allocations: 0 / 1.05 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8193, allocations: 0 / 1.05 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.217e-05/0.8193, allocations: 0 / 1.05 GB, free: 13.72 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.003919/0.8232, allocations: 2.143 MB / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.8233, allocations: 12.03 kB / 1.052 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004356/0.8276, allocations: 0.7944 MB / 1.053 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.8325, allocations: 1.987 MB / 1.055 GB, free: 8.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.8327, allocations: 98.05 kB / 1.055 GB, free: 8.578 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.8329, allocations: 116 kB / 1.055 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.8358, allocations: 1.333 MB / 1.056 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.8359, allocations: 3.938 kB / 1.056 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.836, allocations: 44 kB / 1.056 GB, free: 7.02 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.836, allocations: 27.94 kB / 1.056 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00286/0.8389, allocations: 1.089 MB / 1.058 GB, free: 5.898 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.008754/0.8476, allocations: 5.967 MB / 1.063 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002579/0.8503, allocations: 0.8732 MB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.8513, allocations: 426.3 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003805/0.8551, allocations: 2.536 MB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.8552, allocations: 39.12 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006098/0.8558, allocations: 79.3 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=58): time 2.274e-06/0.8558, allocations: 0 / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of matching and sorting (n=58): time 0.004309/0.8601, allocations: 1.436 MB / 1.069 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.8602, allocations: 59.97 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002727/0.8629, allocations: 1.568 MB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.8631, allocations: 45.7 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.8638, allocations: 0.8268 MB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.8641, allocations: 209.1 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.8642, allocations: 77.67 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.8644, allocations: 334 kB / 1.072 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.8657, allocations: 489.7 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.8672, allocations: 0.7985 MB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002714/0.8699, allocations: 1.221 MB / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.8699, allocations: 0 / 1.074 GB, free: 3.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003772/0.8737, allocations: 1.486 MB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002708/0.874, allocations: 337.9 kB / 1.076 GB, free: 1.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.874, allocations: 12 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004673/0.8745, allocations: 104.8 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.8756, allocations: 235.6 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005478/0.8761, allocations: 0.6186 MB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8777, allocations: 115.9 kB / 1.077 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.8778, allocations: 63.97 kB / 1.077 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.8778, allocations: 4 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003004/0.8809, allocations: 1.181 MB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.8809, allocations: 8 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005503/0.8814, allocations: 129.1 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009317/0.8824, allocations: 227.7 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.8868, allocations: 2.646 MB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.8883, allocations: 111.9 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.8884, allocations: 55.98 kB / 1.081 GB, free: 12.18 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.001055/0.8895, allocations: 496.7 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004191/0.8899, allocations: 169.8 kB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.8937, allocations: 1.341 MB / 1.083 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.079e-05/0.8937, allocations: 12 kB / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8937, allocations: 0 / 1.083 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.8938, allocations: 3.984 kB / 1.083 GB, free: 10.15 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.006036/0.8998, allocations: 2.606 MB / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.8998, allocations: 0 / 1.086 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.9006, allocations: 155.8 kB / 1.086 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/0.9009, allocations: 80.83 kB / 1.086 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.383e-05/0.901, allocations: 19.98 kB / 1.086 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000446/0.9014, allocations: 0.6107 MB / 1.087 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.9014, allocations: 4 kB / 1.087 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002989/0.9044, allocations: 1.278 MB / 1.088 GB, free: 5.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007356/0.9052, allocations: 342.6 kB / 1.088 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/0.9055, allocations: 20 kB / 1.088 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.9067, allocations: 99.84 kB / 1.088 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.9068, allocations: 60.36 kB / 1.088 GB, free: 4.699 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.53e-05/0.9069, allocations: 35.97 kB / 1.088 GB, free: 4.664 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001989/0.9089, allocations: 1.062 MB / 1.089 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9089, allocations: 0 / 1.089 GB, free: 3.578 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003364/0.9123, allocations: 0.9395 MB / 1.09 GB, free: 2.637 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.001736/0.914, allocations: 0.5868 MB / 1.091 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004932/0.919, allocations: 1.82 MB / 1.093 GB, free: 228 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.919, allocations: 0 / 1.093 GB, free: 228 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.9204, allocations: 0.493 MB / 1.093 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/0.9254, allocations: 0.7891 MB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006935/0.9323, allocations: 3.548 MB / 1.097 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.9339, allocations: 1.385 MB / 1.099 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002469/0.9364, allocations: 469.2 kB / 1.099 GB, free: 9.469 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005433/0.9369, allocations: 143.4 kB / 1.099 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of SimCode: time 1.142e-06/0.9369, allocations: 4 kB / 1.099 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of Templates: time 0.06647/1.003, allocations: 36.24 MB / 1.135 GB, free: 5.543 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/jenkins/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