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.001231/0.001231, allocations: 108.5 kB / 16.41 MB, free: 6.41 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.001149/0.001149, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.353/1.353, 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.1-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8971, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06138/0.9585, allocations: 58.57 MB / 1.224 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0302/0.9887, allocations: 19.95 MB / 1.244 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004594/0.9934, allocations: 87.5 kB / 1.244 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006676/1, allocations: 2.004 MB / 1.246 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.009529/1.01, allocations: 3.08 MB / 1.249 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00776/1.017, allocations: 2.356 MB / 1.251 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.02273/1.04, allocations: 14.41 MB / 1.265 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003616/1.044, allocations: 1.823 MB / 1.267 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005736/1.05, allocations: 2.127 MB / 1.269 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/1.053, allocations: 1.573 MB / 1.271 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005739/1.054, allocations: 212 kB / 1.271 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005435/1.059, allocations: 2.343 MB / 1.273 GB, free: 7 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/1.06, allocations: 0.8996 MB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002112/1.062, allocations: 1.411 MB / 1.276 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008197/1.071, allocations: 4.674 MB / 1.28 GB, free: 15.99 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.071, allocations: 0 / 1.28 GB, free: 15.99 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.071, allocations: 7.938 kB / 1.28 GB, free: 15.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.022e-05/1.071, allocations: 4 kB / 1.28 GB, free: 15.98 MB / 1.014 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.006613/1.077, allocations: 3.261 MB / 1.283 GB, free: 12.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/1.077, allocations: 12.03 kB / 1.283 GB, free: 12.63 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005374/1.083, allocations: 0.937 MB / 1.284 GB, free: 11.69 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008849/1.092, allocations: 3.571 MB / 1.288 GB, free: 8.047 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.092, allocations: 94.09 kB / 1.288 GB, free: 7.953 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004423/1.092, allocations: 120 kB / 1.288 GB, free: 7.836 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003488/1.096, allocations: 1.511 MB / 1.289 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.096, allocations: 0 / 1.289 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/1.096, allocations: 44 kB / 1.289 GB, free: 6.211 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/1.096, allocations: 28 kB / 1.289 GB, free: 6.184 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/1.099, allocations: 1.335 MB / 1.291 GB, free: 4.852 MB / 1.014 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.0115/1.111, allocations: 7.162 MB / 1.298 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/1.114, allocations: 1.013 MB / 1.299 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001222/1.115, allocations: 0.4957 MB / 1.299 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/1.12, allocations: 3.019 MB / 1.302 GB, free: 8.418 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/1.12, allocations: 47.06 kB / 1.302 GB, free: 8.363 MB / 1.029 GB Notification: Performance of pre-optimization done (n=58): time 3.106e-06/1.12, allocations: 0 / 1.302 GB, free: 8.363 MB / 1.029 GB Notification: Performance of matching and sorting (n=58): time 0.005029/1.125, allocations: 1.704 MB / 1.304 GB, free: 6.633 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/1.125, allocations: 59.97 kB / 1.304 GB, free: 6.562 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004243/1.129, allocations: 2.663 MB / 1.307 GB, free: 3.883 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002263/1.13, allocations: 45.7 kB / 1.307 GB, free: 3.832 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009811/1.131, allocations: 1.06 MB / 1.308 GB, free: 2.762 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/1.131, allocations: 213 kB / 1.308 GB, free: 2.551 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006698/1.132, allocations: 439.1 kB / 1.308 GB, free: 2.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.132, allocations: 301.1 kB / 1.309 GB, free: 1.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/1.134, allocations: 1.156 MB / 1.31 GB, free: 0.6602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002461/1.136, allocations: 1.559 MB / 1.311 GB, free: 14.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004113/1.14, allocations: 2.465 MB / 1.314 GB, free: 12.37 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/1.14, allocations: 8 kB / 1.314 GB, free: 12.36 MB / 1.045 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.0059/1.146, allocations: 3.045 MB / 1.317 GB, free: 9.293 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/1.146, allocations: 10.34 kB / 1.317 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/1.146, allocations: 8 kB / 1.317 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004944/1.147, allocations: 113.2 kB / 1.317 GB, free: 9.164 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.148, allocations: 347.5 kB / 1.317 GB, free: 8.824 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006116/1.149, allocations: 0.6148 MB / 1.318 GB, free: 8.184 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/1.151, allocations: 231.3 kB / 1.318 GB, free: 7.957 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/1.151, allocations: 95.95 kB / 1.318 GB, free: 7.863 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002736/1.154, allocations: 1.507 MB / 1.319 GB, free: 6.352 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00211/1.156, allocations: 1.375 MB / 1.321 GB, free: 4.828 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003415/1.16, allocations: 2.086 MB / 1.323 GB, free: 2.633 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/1.16, allocations: 0 / 1.323 GB, free: 2.633 MB / 1.045 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005305/1.165, allocations: 2.678 MB / 1.325 GB, free: 15.95 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/1.165, allocations: 15.94 kB / 1.325 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/1.165, allocations: 8 kB / 1.325 GB, free: 15.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005907/1.166, allocations: 133.1 kB / 1.326 GB, free: 15.79 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/1.167, allocations: 323.5 kB / 1.326 GB, free: 15.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/1.171, allocations: 2.837 MB / 1.329 GB, free: 12.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002307/1.174, allocations: 182.9 kB / 1.329 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.174, allocations: 87.95 kB / 1.329 GB, free: 12.16 MB / 1.061 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.0004575/1.174, allocations: 251.9 kB / 1.329 GB, free: 11.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/1.175, allocations: 240.8 kB / 1.329 GB, free: 11.66 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00399/1.179, allocations: 1.598 MB / 1.331 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-05/1.179, allocations: 8 kB / 1.331 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.179, allocations: 0 / 1.331 GB, free: 10.05 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/1.179, allocations: 7.984 kB / 1.331 GB, free: 10.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00643/1.186, allocations: 3.129 MB / 1.334 GB, free: 6.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.186, allocations: 4.25 kB / 1.334 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008923/1.186, allocations: 167.7 kB / 1.334 GB, free: 6.652 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002672/1.187, allocations: 76.75 kB / 1.334 GB, free: 6.574 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/1.187, allocations: 27.97 kB / 1.334 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/1.187, allocations: 0.5991 MB / 1.335 GB, free: 5.922 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.187, allocations: 4 kB / 1.335 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/1.191, allocations: 1.536 MB / 1.336 GB, free: 4.328 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.192, allocations: 441.5 kB / 1.337 GB, free: 3.875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/1.192, allocations: 20 kB / 1.337 GB, free: 3.855 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/1.193, allocations: 75.91 kB / 1.337 GB, free: 3.781 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/1.194, allocations: 64.42 kB / 1.337 GB, free: 3.719 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.412e-05/1.194, allocations: 43.97 kB / 1.337 GB, free: 3.676 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002815/1.196, allocations: 1.776 MB / 1.339 GB, free: 1.898 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.81e-07/1.196, allocations: 4 kB / 1.339 GB, free: 1.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003773/1.2, allocations: 1.244 MB / 1.34 GB, free: 0.6484 MB / 1.061 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.001825/1.202, allocations: 0.7807 MB / 1.341 GB, free: 15.87 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006675/1.209, allocations: 3.471 MB / 1.344 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/1.209, allocations: 0 / 1.344 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001477/1.21, allocations: 0.5858 MB / 1.345 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/1.216, allocations: 1.229 MB / 1.346 GB, free: 10.63 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007128/1.223, allocations: 4.183 MB / 1.35 GB, free: 6.379 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.224, allocations: 1.721 MB / 1.352 GB, free: 4.629 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000885/1.225, allocations: 207.3 kB / 1.352 GB, free: 4.426 MB / 1.076 GB Notification: Performance of SimCode: time 6.82e-07/1.225, allocations: 0 / 1.352 GB, free: 4.426 MB / 1.076 GB Notification: Performance of Templates: time 0.07922/1.304, allocations: 55.48 MB / 1.406 GB, free: 13.18 MB / 1.139 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 -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