Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005562/0.005562, allocations: 105.8 kB / 15.74 MB, free: 5.992 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.001212/0.001212, allocations: 195.8 kB / 16.67 MB, free: 5.914 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.349/1.349, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 71.86 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.923/0.9251, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06289/0.988, allocations: 57.81 MB / 1.144 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03135/1.019, allocations: 17.92 MB / 1.162 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/1.024, allocations: 86 kB / 1.162 GB, free: 15.3 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004367/1.028, allocations: 1.16 MB / 1.163 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/1.04, allocations: 2.674 MB / 1.166 GB, free: 13.09 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.009495/1.05, allocations: 2.247 MB / 1.168 GB, free: 11.9 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009262/1.059, allocations: 4.759 MB / 1.173 GB, free: 9.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003132/1.062, allocations: 1.759 MB / 1.174 GB, free: 8.645 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00546/1.068, allocations: 1.999 MB / 1.176 GB, free: 7.43 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/1.071, allocations: 1.417 MB / 1.178 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005013/1.071, allocations: 186.7 kB / 1.178 GB, free: 6.543 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005094/1.077, allocations: 2.018 MB / 1.18 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0007991/1.077, allocations: 0.5996 MB / 1.18 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/1.079, allocations: 1.077 MB / 1.181 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008072/1.087, allocations: 3.658 MB / 1.185 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.087, allocations: 0 / 1.185 GB, free: 1.809 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.124e-06/1.087, allocations: 0 / 1.185 GB, free: 1.809 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.125e-05/1.087, allocations: 0 / 1.185 GB, free: 1.809 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.005082/1.092, allocations: 2.504 MB / 1.187 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/1.093, allocations: 10.47 kB / 1.187 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004577/1.097, allocations: 0.7383 MB / 1.188 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005205/1.102, allocations: 1.995 MB / 1.19 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/1.102, allocations: 85.69 kB / 1.19 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002142/1.103, allocations: 112.9 kB / 1.19 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/1.106, allocations: 1.331 MB / 1.192 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/1.106, allocations: 1.062 kB / 1.192 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/1.106, allocations: 42.25 kB / 1.192 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/1.106, allocations: 25.44 kB / 1.192 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/1.109, allocations: 1.066 MB / 1.193 GB, free: 12.7 MB / 0.9356 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.009802/1.118, allocations: 6.085 MB / 1.199 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/1.121, allocations: 0.8257 MB / 1.199 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/1.122, allocations: 407 kB / 1.2 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003762/1.126, allocations: 2.496 MB / 1.202 GB, free: 4.332 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/1.126, allocations: 42.23 kB / 1.202 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=56): time 2.094e-06/1.126, allocations: 0 / 1.202 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56): time 0.004305/1.13, allocations: 1.363 MB / 1.204 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/1.13, allocations: 57.91 kB / 1.204 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.133, allocations: 1.597 MB / 1.205 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/1.133, allocations: 38.17 kB / 1.205 GB, free: 2.559 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007654/1.134, allocations: 0.8316 MB / 1.206 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/1.134, allocations: 193.8 kB / 1.206 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/1.134, allocations: 218.6 kB / 1.206 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.134, allocations: 337.6 kB / 1.207 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/1.135, allocations: 476.5 kB / 1.207 GB, free: 0.9766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001398/1.137, allocations: 0.7779 MB / 1.208 GB, free: 360 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/1.139, allocations: 1.184 MB / 1.209 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.139, allocations: 2.031 kB / 1.209 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003672/1.143, allocations: 1.445 MB / 1.211 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/1.143, allocations: 15.3 kB / 1.211 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.143, allocations: 7.75 kB / 1.211 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/1.144, allocations: 106.5 kB / 1.211 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.145, allocations: 234.6 kB / 1.211 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005048/1.145, allocations: 0.6142 MB / 1.212 GB, free: 14.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/1.147, allocations: 151.1 kB / 1.212 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/1.147, allocations: 68.53 kB / 1.212 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001694/1.148, allocations: 0.7244 MB / 1.212 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/1.15, allocations: 0.7236 MB / 1.213 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001987/1.152, allocations: 1.053 MB / 1.214 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.818e-06/1.152, allocations: 0 / 1.214 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization_lambda0): time 0.003304/1.155, allocations: 1.318 MB / 1.215 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/1.155, allocations: 11.94 kB / 1.215 GB, free: 9.895 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/1.155, allocations: 8 kB / 1.215 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006049/1.156, allocations: 125.1 kB / 1.216 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009165/1.157, allocations: 219.7 kB / 1.216 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004357/1.161, allocations: 2.875 MB / 1.219 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/1.163, allocations: 115.4 kB / 1.219 GB, free: 6.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/1.163, allocations: 55.98 kB / 1.219 GB, free: 6.281 MB / 0.9512 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 (98): * Single equations (assignments): 95 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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.0003785/1.163, allocations: 240 kB / 1.219 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005738/1.164, allocations: 165.8 kB / 1.219 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/1.167, allocations: 1.303 MB / 1.22 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/1.167, allocations: 12 kB / 1.22 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/1.167, allocations: 0 / 1.22 GB, free: 4.559 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/1.167, allocations: 3.984 kB / 1.22 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005665/1.173, allocations: 2.545 MB / 1.223 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/1.173, allocations: 4 kB / 1.223 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/1.174, allocations: 156 kB / 1.223 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002482/1.174, allocations: 76.72 kB / 1.223 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/1.174, allocations: 19.98 kB / 1.223 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004349/1.174, allocations: 0.603 MB / 1.224 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.174, allocations: 8.062 kB / 1.224 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/1.177, allocations: 1.251 MB / 1.225 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008135/1.178, allocations: 358.5 kB / 1.225 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003854/1.179, allocations: 16 kB / 1.225 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.18, allocations: 59.94 kB / 1.225 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.18, allocations: 52.44 kB / 1.225 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/1.18, allocations: 35.97 kB / 1.225 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001929/1.182, allocations: 1.085 MB / 1.227 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.182, allocations: 0 / 1.227 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003425/1.185, allocations: 0.9355 MB / 1.227 GB, free: 13.14 MB / 0.9669 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 (67): * Single equations (assignments): 58 * 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.001686/1.187, allocations: 0.6077 MB / 1.228 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004642/1.192, allocations: 1.774 MB / 1.23 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.192, allocations: 0 / 1.23 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.193, allocations: 492.7 kB / 1.23 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/1.197, allocations: 0.8364 MB / 1.231 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005564/1.203, allocations: 2.854 MB / 1.234 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/1.204, allocations: 1.381 MB / 1.235 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001876/1.206, allocations: 473.4 kB / 1.236 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/1.206, allocations: 147.4 kB / 1.236 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of SimCode: time 6.72e-07/1.206, allocations: 0 / 1.236 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of Templates: time 0.06647/1.273, allocations: 38.7 MB / 1.274 GB, free: 14.31 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches