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.008009/0.008009, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001551/0.001551, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.652/2.652, allocations: 437 MB / 0.7105 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 71.91 kB / 1.019 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2914, allocations: 151.6 MB / 1.167 GB, free: 6.938 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.05597/0.3475, allocations: 58.57 MB / 1.224 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02836/0.3758, allocations: 19.95 MB / 1.243 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003428/0.3793, allocations: 87.5 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005909/0.3853, allocations: 2.002 MB / 1.245 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008294/0.3936, allocations: 3.068 MB / 1.248 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006921/0.4005, allocations: 2.354 MB / 1.251 GB, free: 0.6367 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6639/1.064, allocations: 14.41 MB / 1.265 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004245/1.069, allocations: 1.816 MB / 1.266 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006736/1.075, allocations: 2.137 MB / 1.269 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003808/1.079, allocations: 1.564 MB / 1.27 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008088/1.08, allocations: 211.4 kB / 1.27 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005902/1.086, allocations: 2.346 MB / 1.273 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0018/1.088, allocations: 0.8961 MB / 1.273 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003423/1.091, allocations: 1.416 MB / 1.275 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/1.103, allocations: 4.705 MB / 1.279 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/1.103, allocations: 0 / 1.279 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.103, allocations: 0 / 1.279 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001387/1.103, allocations: 0 / 1.279 GB, free: 6.391 MB / 0.9981 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.009039/1.112, allocations: 3.366 MB / 1.283 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/1.112, allocations: 8.75 kB / 1.283 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006279/1.118, allocations: 0.9548 MB / 1.284 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009892/1.128, allocations: 3.597 MB / 1.287 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/1.129, allocations: 90.78 kB / 1.287 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003969/1.129, allocations: 119.4 kB / 1.287 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00343/1.132, allocations: 1.516 MB / 1.289 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.132, allocations: 5.141 kB / 1.289 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/1.133, allocations: 42.62 kB / 1.289 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/1.133, allocations: 26.06 kB / 1.289 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/1.136, allocations: 1.332 MB / 1.29 GB, free: 3.477 MB / 0.9981 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.01121/1.147, allocations: 7.172 MB / 1.297 GB, free: 200 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002711/1.15, allocations: 1.016 MB / 1.298 GB, free: 156 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/1.151, allocations: 0.5056 MB / 1.299 GB, free: 132 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005693/1.157, allocations: 3.031 MB / 1.302 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/1.157, allocations: 43.69 kB / 1.302 GB, free: 14.15 MB / 1.014 GB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/1.157, allocations: 0 / 1.302 GB, free: 14.15 MB / 1.014 GB Notification: Performance of matching and sorting (n=58): time 0.005159/1.162, allocations: 1.718 MB / 1.303 GB, free: 13.5 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/1.162, allocations: 57.44 kB / 1.303 GB, free: 13.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004515/1.167, allocations: 2.675 MB / 1.306 GB, free: 12.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.167, allocations: 40.55 kB / 1.306 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009737/1.168, allocations: 1.062 MB / 1.307 GB, free: 11.55 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002874/1.168, allocations: 219.4 kB / 1.307 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007162/1.169, allocations: 450.2 kB / 1.308 GB, free: 11.21 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.169, allocations: 302.3 kB / 1.308 GB, free: 10.92 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/1.171, allocations: 1.147 MB / 1.309 GB, free: 10.5 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002747/1.174, allocations: 1.563 MB / 1.311 GB, free: 9.641 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004269/1.178, allocations: 2.466 MB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/1.178, allocations: 2.375 kB / 1.313 GB, free: 8.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.005993/1.184, allocations: 3.05 MB / 1.316 GB, free: 7.375 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/1.184, allocations: 12.56 kB / 1.316 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/1.184, allocations: 8.625 kB / 1.316 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005307/1.185, allocations: 115.5 kB / 1.316 GB, free: 7.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/1.186, allocations: 349.9 kB / 1.317 GB, free: 7.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000585/1.187, allocations: 0.6166 MB / 1.317 GB, free: 6.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.189, allocations: 231.4 kB / 1.317 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/1.19, allocations: 100 kB / 1.317 GB, free: 6.641 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002911/1.193, allocations: 1.504 MB / 1.319 GB, free: 5.992 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001987/1.195, allocations: 1.371 MB / 1.32 GB, free: 5.199 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00323/1.198, allocations: 2.091 MB / 1.322 GB, free: 4.188 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.364e-06/1.198, allocations: 3.031 kB / 1.322 GB, free: 4.188 MB / 1.014 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005135/1.203, allocations: 2.693 MB / 1.325 GB, free: 3.195 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.203, allocations: 9.375 kB / 1.325 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/1.203, allocations: 9.969 kB / 1.325 GB, free: 3.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005412/1.204, allocations: 122.2 kB / 1.325 GB, free: 3.172 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/1.205, allocations: 329.2 kB / 1.325 GB, free: 3.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004118/1.209, allocations: 2.834 MB / 1.328 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.211, allocations: 195.9 kB / 1.328 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/1.212, allocations: 88.19 kB / 1.328 GB, free: 0.875 MB / 1.014 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.0004862/1.212, allocations: 257.3 kB / 1.329 GB, free: 0.6562 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/1.213, allocations: 247.2 kB / 1.329 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/1.217, allocations: 1.59 MB / 1.33 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/1.217, allocations: 11.02 kB / 1.33 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.217, allocations: 4 kB / 1.33 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.217, allocations: 3.984 kB / 1.331 GB, free: 15.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006184/1.223, allocations: 3.15 MB / 1.334 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.223, allocations: 0 / 1.334 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008988/1.224, allocations: 166.6 kB / 1.334 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002475/1.224, allocations: 73.44 kB / 1.334 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/1.224, allocations: 27.39 kB / 1.334 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003951/1.225, allocations: 0.5992 MB / 1.334 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.225, allocations: 3.938 kB / 1.334 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/1.228, allocations: 1.54 MB / 1.336 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009787/1.229, allocations: 462.2 kB / 1.336 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/1.229, allocations: 13.72 kB / 1.336 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/1.23, allocations: 86.28 kB / 1.336 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.231, allocations: 56.16 kB / 1.337 GB, free: 12.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.565e-05/1.231, allocations: 48.17 kB / 1.337 GB, free: 12.84 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002627/1.233, allocations: 1.78 MB / 1.338 GB, free: 11.88 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.31e-07/1.233, allocations: 0 / 1.338 GB, free: 11.88 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003476/1.237, allocations: 1.256 MB / 1.34 GB, free: 11.61 MB / 1.029 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.001794/1.239, allocations: 0.79 MB / 1.34 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006567/1.245, allocations: 3.471 MB / 1.344 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.245, allocations: 1.375 kB / 1.344 GB, free: 8.84 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.247, allocations: 0.5883 MB / 1.344 GB, free: 8.273 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/1.252, allocations: 1.228 MB / 1.345 GB, free: 7.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/1.259, allocations: 4.17 MB / 1.35 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.261, allocations: 1.735 MB / 1.351 GB, free: 1.109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002629/1.263, allocations: 0.7094 MB / 1.352 GB, free: 408 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005449/1.264, allocations: 207.3 kB / 1.352 GB, free: 200 kB / 1.029 GB Notification: Performance of SimCode: time 6.82e-07/1.264, allocations: 0 / 1.352 GB, free: 200 kB / 1.029 GB Notification: Performance of Templates: time 0.08235/1.346, allocations: 53.83 MB / 1.405 GB, free: 11.3 MB / 1.092 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/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