Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005404/0.005404, allocations: 100.5 kB / 15.73 MB, free: 6.008 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.001094/0.001094, allocations: 193.4 kB / 16.67 MB, free: 5.93 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.645/2.645, allocations: 469.8 MB / 0.7425 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 63.91 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8888/0.8903, allocations: 159.1 MB / 1.221 GB, free: 2.086 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05881/0.9491, allocations: 58.68 MB / 1.278 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03245/0.9815, allocations: 19.97 MB / 1.297 GB, free: 3.195 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0052/0.9867, allocations: 91.5 kB / 1.297 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00637/0.9931, allocations: 2.024 MB / 1.299 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.008895/1.002, allocations: 3.08 MB / 1.302 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00614/1.008, allocations: 2.354 MB / 1.305 GB, free: 11.64 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.02091/1.029, allocations: 14.48 MB / 1.319 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/1.032, allocations: 1.514 MB / 1.32 GB, free: 11.59 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005304/1.038, allocations: 2.137 MB / 1.322 GB, free: 9.453 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002945/1.04, allocations: 1.576 MB / 1.324 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000796/1.041, allocations: 212 kB / 1.324 GB, free: 7.664 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005063/1.046, allocations: 2.355 MB / 1.327 GB, free: 5.305 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/1.048, allocations: 0.907 MB / 1.327 GB, free: 4.395 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002576/1.05, allocations: 1.426 MB / 1.329 GB, free: 2.961 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008108/1.058, allocations: 4.698 MB / 1.333 GB, free: 14.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.058, allocations: 0 / 1.333 GB, free: 14.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.853e-06/1.058, allocations: 4 kB / 1.333 GB, free: 14.24 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001349/1.059, allocations: 0 / 1.333 GB, free: 14.24 MB / 1.061 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.007812/1.066, allocations: 3.363 MB / 1.337 GB, free: 10.8 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.066, allocations: 12.62 kB / 1.337 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006055/1.072, allocations: 0.9581 MB / 1.338 GB, free: 9.824 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009309/1.082, allocations: 3.597 MB / 1.341 GB, free: 6.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/1.082, allocations: 90.09 kB / 1.341 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006761/1.083, allocations: 116 kB / 1.341 GB, free: 5.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004339/1.087, allocations: 1.514 MB / 1.343 GB, free: 4.371 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/1.087, allocations: 7.938 kB / 1.343 GB, free: 4.363 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/1.087, allocations: 44 kB / 1.343 GB, free: 4.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.757e-05/1.087, allocations: 28 kB / 1.343 GB, free: 4.293 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003634/1.091, allocations: 1.331 MB / 1.344 GB, free: 2.965 MB / 1.061 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.01173/1.103, allocations: 7.183 MB / 1.351 GB, free: 11.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002714/1.105, allocations: 0.9732 MB / 1.352 GB, free: 10.36 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/1.107, allocations: 487.7 kB / 1.353 GB, free: 9.883 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00454/1.111, allocations: 3.024 MB / 1.356 GB, free: 6.574 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.111, allocations: 43.06 kB / 1.356 GB, free: 6.523 MB / 1.076 GB Notification: Performance of pre-optimization done (n=58): time 2.004e-06/1.111, allocations: 0 / 1.356 GB, free: 6.523 MB / 1.076 GB Notification: Performance of matching and sorting (n=58): time 0.004978/1.116, allocations: 1.721 MB / 1.357 GB, free: 4.777 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.116, allocations: 55.97 kB / 1.357 GB, free: 4.707 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/1.12, allocations: 2.667 MB / 1.36 GB, free: 2.023 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/1.12, allocations: 49.69 kB / 1.36 GB, free: 1.969 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008297/1.121, allocations: 1.065 MB / 1.361 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/1.121, allocations: 218.2 kB / 1.361 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005822/1.122, allocations: 439.2 kB / 1.362 GB, free: 252 kB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.122, allocations: 305.1 kB / 1.362 GB, free: 15.95 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/1.124, allocations: 1.153 MB / 1.363 GB, free: 14.79 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002277/1.126, allocations: 1.559 MB / 1.365 GB, free: 13.07 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003823/1.13, allocations: 2.461 MB / 1.367 GB, free: 10.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/1.13, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005311/1.135, allocations: 3.062 MB / 1.37 GB, free: 7.418 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.135, allocations: 11.94 kB / 1.37 GB, free: 7.406 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.135, allocations: 8 kB / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/1.136, allocations: 109.2 kB / 1.37 GB, free: 7.289 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/1.137, allocations: 347.5 kB / 1.37 GB, free: 6.949 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004789/1.138, allocations: 0.6148 MB / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/1.139, allocations: 243.8 kB / 1.371 GB, free: 6.07 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/1.14, allocations: 99.95 kB / 1.371 GB, free: 5.973 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002606/1.142, allocations: 1.504 MB / 1.373 GB, free: 4.465 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001996/1.144, allocations: 1.375 MB / 1.374 GB, free: 2.941 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003265/1.147, allocations: 2.082 MB / 1.376 GB, free: 0.75 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.162e-06/1.147, allocations: 8 kB / 1.376 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.004952/1.152, allocations: 2.683 MB / 1.379 GB, free: 14.05 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.152, allocations: 12.38 kB / 1.379 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.152, allocations: 8 kB / 1.379 GB, free: 14.03 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005642/1.153, allocations: 128.8 kB / 1.379 GB, free: 13.9 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.154, allocations: 331.5 kB / 1.379 GB, free: 13.58 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/1.158, allocations: 2.837 MB / 1.382 GB, free: 10.53 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/1.161, allocations: 191.2 kB / 1.382 GB, free: 10.34 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001598/1.161, allocations: 83.97 kB / 1.382 GB, free: 10.26 MB / 1.107 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.0004039/1.161, allocations: 256 kB / 1.383 GB, free: 10 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004087/1.162, allocations: 262.1 kB / 1.383 GB, free: 9.746 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/1.165, allocations: 1.567 MB / 1.384 GB, free: 8.168 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.165, allocations: 11.98 kB / 1.384 GB, free: 8.156 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/1.165, allocations: 0 / 1.384 GB, free: 8.156 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/1.165, allocations: 3.984 kB / 1.384 GB, free: 8.152 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/1.171, allocations: 3.149 MB / 1.387 GB, free: 4.91 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.443e-06/1.171, allocations: 4 kB / 1.387 GB, free: 4.906 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009192/1.172, allocations: 171.8 kB / 1.388 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002304/1.172, allocations: 68.81 kB / 1.388 GB, free: 4.668 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.348e-05/1.172, allocations: 31.97 kB / 1.388 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003876/1.173, allocations: 0.5953 MB / 1.388 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.173, allocations: 3.938 kB / 1.388 GB, free: 4.012 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003263/1.176, allocations: 1.541 MB / 1.39 GB, free: 2.422 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/1.177, allocations: 459 kB / 1.39 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/1.177, allocations: 12 kB / 1.39 GB, free: 1.941 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.178, allocations: 83.86 kB / 1.39 GB, free: 1.859 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.178, allocations: 60.38 kB / 1.39 GB, free: 1.801 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.687e-05/1.179, allocations: 51.95 kB / 1.39 GB, free: 1.75 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002625/1.181, allocations: 1.776 MB / 1.392 GB, free: 15.97 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/1.181, allocations: 0 / 1.392 GB, free: 15.97 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003071/1.184, allocations: 1.255 MB / 1.393 GB, free: 14.71 MB / 1.123 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.001572/1.186, allocations: 0.7825 MB / 1.394 GB, free: 13.93 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.006057/1.192, allocations: 3.193 MB / 1.397 GB, free: 10.73 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.089e-06/1.192, allocations: 0 / 1.397 GB, free: 10.73 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/1.193, allocations: 0.559 MB / 1.398 GB, free: 10.17 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/1.198, allocations: 1.23 MB / 1.399 GB, free: 8.984 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/1.205, allocations: 4.169 MB / 1.403 GB, free: 4.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/1.206, allocations: 1.736 MB / 1.405 GB, free: 2.98 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002498/1.209, allocations: 0.714 MB / 1.405 GB, free: 2.266 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/1.209, allocations: 195.3 kB / 1.406 GB, free: 2.074 MB / 1.123 GB Notification: Performance of SimCode: time 1.533e-06/1.209, allocations: 0 / 1.406 GB, free: 2.074 MB / 1.123 GB Notification: Performance of Templates: time 0.0959/1.305, allocations: 54.05 MB / 1.458 GB, free: 12.66 MB / 1.186 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches