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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001733/0.001733, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001965/0.001965, allocations: 192.1 kB / 17.31 MB, free: 5.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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 64.28 kB / 0.8707 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3086, allocations: 151.6 MB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.6602/0.9689, allocations: 58.58 MB / 1.076 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02872/0.9976, allocations: 19.92 MB / 1.095 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004724/1.002, allocations: 90.66 kB / 1.096 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01979/1.022, allocations: 9.822 MB / 1.105 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/1.034, allocations: 2.853 MB / 1.108 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007115/1.041, allocations: 2.34 MB / 1.11 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0238/1.065, allocations: 14.19 MB / 1.124 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004112/1.069, allocations: 1.757 MB / 1.126 GB, free: 4.633 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005741/1.074, allocations: 2.036 MB / 1.128 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00332/1.078, allocations: 1.515 MB / 1.129 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006768/1.078, allocations: 196.7 kB / 1.129 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006648/1.085, allocations: 2.333 MB / 1.132 GB, free: 2.527 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001369/1.087, allocations: 0.8709 MB / 1.133 GB, free: 2.156 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002372/1.089, allocations: 1.397 MB / 1.134 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00921/1.098, allocations: 4.598 MB / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/1.098, allocations: 0 / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/1.098, allocations: 0 / 1.138 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.672e-05/1.098, allocations: 1.156 kB / 1.138 GB, free: 14.46 MB / 0.8575 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.007582/1.106, allocations: 3.221 MB / 1.142 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.106, allocations: 8.406 kB / 1.142 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005685/1.112, allocations: 0.937 MB / 1.142 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008454/1.12, allocations: 3.464 MB / 1.146 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/1.12, allocations: 88.97 kB / 1.146 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/1.121, allocations: 120.7 kB / 1.146 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00307/1.124, allocations: 1.522 MB / 1.148 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.197e-05/1.124, allocations: 2.469 kB / 1.148 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/1.124, allocations: 40.53 kB / 1.148 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/1.124, allocations: 28.12 kB / 1.148 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003179/1.127, allocations: 1.333 MB / 1.149 GB, free: 7.637 MB / 0.8575 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.01125/1.138, allocations: 7.147 MB / 1.156 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/1.141, allocations: 1.017 MB / 1.157 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.142, allocations: 0.5032 MB / 1.157 GB, free: 1.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004815/1.147, allocations: 2.994 MB / 1.16 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/1.147, allocations: 45.94 kB / 1.16 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=58): time 2.665e-06/1.147, allocations: 0 / 1.16 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of matching and sorting (n=58): time 0.005027/1.152, allocations: 1.709 MB / 1.162 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/1.152, allocations: 58.88 kB / 1.162 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004128/1.156, allocations: 2.637 MB / 1.165 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/1.157, allocations: 41.7 kB / 1.165 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.158, allocations: 1.056 MB / 1.166 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002938/1.158, allocations: 211.8 kB / 1.166 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006633/1.159, allocations: 442.7 kB / 1.166 GB, free: 9.516 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/1.159, allocations: 305.1 kB / 1.167 GB, free: 9.215 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/1.161, allocations: 1.149 MB / 1.168 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002424/1.163, allocations: 1.559 MB / 1.169 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003946/1.167, allocations: 2.461 MB / 1.172 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/1.167, allocations: 0 / 1.172 GB, free: 3.773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005585/1.173, allocations: 3.045 MB / 1.175 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.173, allocations: 8.438 kB / 1.175 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/1.173, allocations: 12 kB / 1.175 GB, free: 0.6992 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004427/1.173, allocations: 112.7 kB / 1.175 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/1.175, allocations: 351.5 kB / 1.175 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005082/1.175, allocations: 0.6108 MB / 1.176 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/1.177, allocations: 222.8 kB / 1.176 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/1.178, allocations: 107.9 kB / 1.176 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002624/1.18, allocations: 1.503 MB / 1.177 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002027/1.182, allocations: 1.368 MB / 1.179 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003328/1.186, allocations: 2.086 MB / 1.181 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.69e-06/1.186, allocations: 4 kB / 1.181 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005124/1.191, allocations: 2.674 MB / 1.183 GB, free: 7.367 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.191, allocations: 8 kB / 1.183 GB, free: 7.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/1.191, allocations: 15.94 kB / 1.184 GB, free: 7.344 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/1.191, allocations: 120.8 kB / 1.184 GB, free: 7.223 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.193, allocations: 335.5 kB / 1.184 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004208/1.197, allocations: 2.838 MB / 1.187 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002295/1.199, allocations: 190.1 kB / 1.187 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002051/1.2, allocations: 83.95 kB / 1.187 GB, free: 3.586 MB / 0.8887 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.0004795/1.2, allocations: 259.1 kB / 1.187 GB, free: 3.328 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/1.2, allocations: 232.9 kB / 1.187 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/1.204, allocations: 1.587 MB / 1.189 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.204, allocations: 12 kB / 1.189 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.204, allocations: 0 / 1.189 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/1.204, allocations: 3.984 kB / 1.189 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006634/1.211, allocations: 3.134 MB / 1.192 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/1.211, allocations: 0 / 1.192 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009104/1.212, allocations: 172 kB / 1.192 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002453/1.212, allocations: 72.81 kB / 1.192 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.824e-05/1.212, allocations: 27.97 kB / 1.192 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004374/1.213, allocations: 0.6027 MB / 1.193 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.213, allocations: 64 / 1.193 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003508/1.216, allocations: 1.54 MB / 1.194 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.217, allocations: 445.5 kB / 1.195 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002839/1.218, allocations: 12 kB / 1.195 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.219, allocations: 75.86 kB / 1.195 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/1.219, allocations: 60.44 kB / 1.195 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001095/1.219, allocations: 47.95 kB / 1.195 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002603/1.222, allocations: 1.753 MB / 1.197 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.21e-07/1.222, allocations: 0 / 1.197 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0036/1.225, allocations: 1.244 MB / 1.198 GB, free: 8.172 MB / 0.9044 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.001969/1.227, allocations: 0.7757 MB / 1.199 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006827/1.234, allocations: 3.471 MB / 1.202 GB, free: 3.965 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.234, allocations: 4 kB / 1.202 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.00149/1.236, allocations: 0.5862 MB / 1.203 GB, free: 3.371 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005065/1.241, allocations: 1.231 MB / 1.204 GB, free: 2.184 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/1.248, allocations: 4.091 MB / 1.208 GB, free: 14.03 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/1.249, allocations: 1.734 MB / 1.21 GB, free: 12.26 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002732/1.252, allocations: 0.7093 MB / 1.21 GB, free: 11.55 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005501/1.253, allocations: 203.3 kB / 1.21 GB, free: 11.35 MB / 0.92 GB Notification: Performance of SimCode: time 6.82e-07/1.253, allocations: 0 / 1.21 GB, free: 11.35 MB / 0.92 GB Notification: Performance of Templates: time 0.08893/1.342, allocations: 53.43 MB / 1.263 GB, free: 6.633 MB / 0.9669 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=480 -s cvode -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/jenkins1/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