Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001456/0.001456, allocations: 108 kB / 15.61 MB, free: 148 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.001411/0.001411, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.447/1.447, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002258, allocations: 63.89 kB / 0.8692 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7667, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06735/0.834, allocations: 58.56 MB / 1.074 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03294/0.867, allocations: 19.94 MB / 1.094 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/0.8715, allocations: 91.5 kB / 1.094 GB, free: 3.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0186/0.8902, allocations: 9.802 MB / 1.104 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009219/0.8994, allocations: 2.873 MB / 1.106 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006862/0.9063, allocations: 2.311 MB / 1.109 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.02279/0.9291, allocations: 14.17 MB / 1.123 GB, free: 6.414 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00403/0.9332, allocations: 1.772 MB / 1.124 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005943/0.9391, allocations: 2.021 MB / 1.126 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00318/0.9423, allocations: 1.509 MB / 1.128 GB, free: 1.07 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008942/0.9432, allocations: 196 kB / 1.128 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005835/0.9491, allocations: 2.32 MB / 1.13 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001508/0.9506, allocations: 0.8761 MB / 1.131 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/0.9539, allocations: 1.391 MB / 1.132 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00959/0.9635, allocations: 4.553 MB / 1.137 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.9635, allocations: 0 / 1.137 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9636, allocations: 0 / 1.137 GB, free: 7.711 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001548/0.9637, allocations: 0 / 1.137 GB, free: 7.711 MB / 0.8887 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.008808/0.9725, allocations: 3.223 MB / 1.14 GB, free: 4.41 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.9726, allocations: 8.031 kB / 1.14 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005938/0.9785, allocations: 0.9407 MB / 1.141 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009154/0.9877, allocations: 3.399 MB / 1.144 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.988, allocations: 98.02 kB / 1.144 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004624/0.9884, allocations: 124 kB / 1.144 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00442/0.9929, allocations: 1.518 MB / 1.146 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.01e-05/0.9929, allocations: 4 kB / 1.146 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.9931, allocations: 40 kB / 1.146 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.9932, allocations: 28 kB / 1.146 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003833/0.997, allocations: 1.343 MB / 1.147 GB, free: 12.77 MB / 0.9044 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.01301/1.01, allocations: 7.185 MB / 1.154 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003442/1.014, allocations: 1.091 MB / 1.155 GB, free: 4.039 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/1.015, allocations: 0.5039 MB / 1.156 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004918/1.02, allocations: 2.996 MB / 1.159 GB, free: 260 kB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/1.02, allocations: 47.05 kB / 1.159 GB, free: 204 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=58): time 2.595e-06/1.02, allocations: 4 kB / 1.159 GB, free: 200 kB / 0.9044 GB Notification: Performance of matching and sorting (n=58): time 0.005224/1.025, allocations: 1.712 MB / 1.16 GB, free: 14.46 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/1.025, allocations: 63.97 kB / 1.161 GB, free: 14.38 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/1.029, allocations: 2.635 MB / 1.163 GB, free: 11.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002059/1.03, allocations: 37.7 kB / 1.163 GB, free: 11.69 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001048/1.031, allocations: 1.056 MB / 1.164 GB, free: 10.62 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002964/1.031, allocations: 217.1 kB / 1.164 GB, free: 10.41 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/1.032, allocations: 439 kB / 1.165 GB, free: 9.973 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.032, allocations: 305.1 kB / 1.165 GB, free: 9.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002244/1.034, allocations: 1.156 MB / 1.166 GB, free: 8.512 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/1.037, allocations: 1.575 MB / 1.168 GB, free: 6.785 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00449/1.041, allocations: 2.469 MB / 1.17 GB, free: 4.199 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/1.041, allocations: 3.938 kB / 1.17 GB, free: 4.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006278/1.048, allocations: 3.045 MB / 1.173 GB, free: 1.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/1.048, allocations: 8 kB / 1.173 GB, free: 1.133 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/1.048, allocations: 8 kB / 1.173 GB, free: 1.125 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005051/1.048, allocations: 104.8 kB / 1.173 GB, free: 1.02 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/1.05, allocations: 351.8 kB / 1.174 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005887/1.05, allocations: 0.6187 MB / 1.174 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.052, allocations: 239.9 kB / 1.174 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001764/1.052, allocations: 99.95 kB / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002988/1.055, allocations: 1.512 MB / 1.176 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00231/1.058, allocations: 1.377 MB / 1.177 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003738/1.062, allocations: 2.098 MB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.378e-06/1.062, allocations: 8 kB / 1.179 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005666/1.067, allocations: 2.678 MB / 1.182 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/1.067, allocations: 16 kB / 1.182 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.067, allocations: 8 kB / 1.182 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005484/1.068, allocations: 132.6 kB / 1.182 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/1.069, allocations: 331.5 kB / 1.183 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004653/1.074, allocations: 2.833 MB / 1.185 GB, free: 4.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002282/1.076, allocations: 191.8 kB / 1.185 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/1.076, allocations: 83.97 kB / 1.186 GB, free: 3.953 MB / 0.9356 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.0005038/1.077, allocations: 255.9 kB / 1.186 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/1.077, allocations: 232.9 kB / 1.186 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/1.082, allocations: 1.611 MB / 1.188 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.082, allocations: 8 kB / 1.188 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.082, allocations: 0 / 1.188 GB, free: 1.84 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.082, allocations: 7.984 kB / 1.188 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007039/1.089, allocations: 3.129 MB / 1.191 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.089, allocations: 4 kB / 1.191 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009607/1.09, allocations: 176 kB / 1.191 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002918/1.09, allocations: 60.83 kB / 1.191 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/1.09, allocations: 31.97 kB / 1.191 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005578/1.091, allocations: 0.603 MB / 1.191 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.091, allocations: 8.062 kB / 1.192 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003802/1.095, allocations: 1.543 MB / 1.193 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009278/1.096, allocations: 433.6 kB / 1.193 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002562/1.096, allocations: 16 kB / 1.193 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.097, allocations: 79.86 kB / 1.194 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/1.097, allocations: 56.48 kB / 1.194 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.097, allocations: 43.97 kB / 1.194 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002951/1.1, allocations: 1.761 MB / 1.195 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.1, allocations: 3.938 kB / 1.195 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003534/1.104, allocations: 1.248 MB / 1.197 GB, free: 8.457 MB / 0.9512 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.001887/1.106, allocations: 0.7701 MB / 1.197 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007661/1.113, allocations: 3.518 MB / 1.201 GB, free: 4.148 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.113, allocations: 8.062 kB / 1.201 GB, free: 4.141 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001599/1.115, allocations: 0.5892 MB / 1.201 GB, free: 3.551 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/1.121, allocations: 1.241 MB / 1.203 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/1.128, allocations: 4.172 MB / 1.207 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/1.129, allocations: 1.736 MB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.003261/1.133, allocations: 0.7092 MB / 1.209 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/1.133, allocations: 199.3 kB / 1.209 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/1.133, allocations: 0 / 1.209 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of Templates: time 0.5869/1.72, allocations: 53.43 MB / 1.261 GB, free: 219.4 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches