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.001256/0.001256, allocations: 105 kB / 16.41 MB, free: 6.465 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.001585/0.001586, allocations: 187 kB / 17.34 MB, free: 5.719 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.09 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.254/2.254, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 68.09 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.95/0.9514, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06305/1.014, allocations: 57.8 MB / 1.145 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02961/1.044, allocations: 17.91 MB / 1.163 GB, free: 15.29 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004947/1.049, allocations: 85.31 kB / 1.163 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004348/1.054, allocations: 1.17 MB / 1.164 GB, free: 14.57 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009998/1.064, allocations: 2.792 MB / 1.166 GB, free: 12.97 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007257/1.071, allocations: 2.256 MB / 1.169 GB, free: 11.78 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.009644/1.081, allocations: 4.768 MB / 1.173 GB, free: 9.523 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/1.084, allocations: 1.761 MB / 1.175 GB, free: 8.516 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006154/1.09, allocations: 2.006 MB / 1.177 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/1.094, allocations: 1.417 MB / 1.178 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005555/1.094, allocations: 187.2 kB / 1.179 GB, free: 6.41 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0058/1.1, allocations: 2.005 MB / 1.181 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001094/1.101, allocations: 0.6119 MB / 1.181 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002217/1.103, allocations: 1.065 MB / 1.182 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008281/1.112, allocations: 3.665 MB / 1.186 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.112, allocations: 0 / 1.186 GB, free: 1.68 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.926e-06/1.112, allocations: 5.156 kB / 1.186 GB, free: 1.676 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.741e-05/1.112, allocations: 0 / 1.186 GB, free: 1.676 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.004974/1.117, allocations: 2.499 MB / 1.188 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.117, allocations: 9.062 kB / 1.188 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004298/1.121, allocations: 0.7431 MB / 1.189 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/1.126, allocations: 1.986 MB / 1.191 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/1.126, allocations: 93.94 kB / 1.191 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/1.127, allocations: 112.9 kB / 1.191 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/1.129, allocations: 1.325 MB / 1.192 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/1.129, allocations: 5 kB / 1.192 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/1.13, allocations: 42.28 kB / 1.192 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/1.13, allocations: 24.72 kB / 1.192 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/1.132, allocations: 1.059 MB / 1.193 GB, free: 12.58 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.009277/1.142, allocations: 6.08 MB / 1.199 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/1.144, allocations: 0.833 MB / 1.2 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/1.145, allocations: 407.5 kB / 1.201 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003843/1.149, allocations: 2.492 MB / 1.203 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/1.149, allocations: 41.44 kB / 1.203 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=56): time 2.124e-06/1.149, allocations: 5 kB / 1.203 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56): time 0.004266/1.153, allocations: 1.367 MB / 1.204 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.153, allocations: 65.31 kB / 1.204 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/1.156, allocations: 1.597 MB / 1.206 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001009/1.156, allocations: 43.7 kB / 1.206 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006628/1.156, allocations: 0.8227 MB / 1.207 GB, free: 1.691 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/1.157, allocations: 193.2 kB / 1.207 GB, free: 1.523 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/1.157, allocations: 214.2 kB / 1.207 GB, free: 1.402 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.157, allocations: 346.6 kB / 1.208 GB, free: 1.066 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/1.158, allocations: 468 kB / 1.208 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/1.16, allocations: 0.7879 MB / 1.209 GB, free: 216 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/1.162, allocations: 1.179 MB / 1.21 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/1.162, allocations: 2.5 kB / 1.21 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.003648/1.166, allocations: 1.437 MB / 1.211 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.166, allocations: 12.08 kB / 1.211 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/1.166, allocations: 8.656 kB / 1.211 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/1.166, allocations: 106.4 kB / 1.212 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009704/1.167, allocations: 230.6 kB / 1.212 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005247/1.168, allocations: 0.6148 MB / 1.212 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/1.17, allocations: 162.9 kB / 1.212 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.17, allocations: 67.95 kB / 1.213 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00167/1.171, allocations: 0.7244 MB / 1.213 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001195/1.173, allocations: 0.7158 MB / 1.214 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001992/1.175, allocations: 1.057 MB / 1.215 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/1.175, allocations: 0 / 1.215 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=104) (initialization_lambda0): time 0.003194/1.178, allocations: 1.318 MB / 1.216 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.178, allocations: 11.94 kB / 1.216 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/1.178, allocations: 8.438 kB / 1.216 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004796/1.178, allocations: 124.8 kB / 1.216 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000838/1.179, allocations: 223.6 kB / 1.217 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/1.183, allocations: 2.863 MB / 1.219 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.185, allocations: 119.3 kB / 1.22 GB, free: 6.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.185, allocations: 60.05 kB / 1.22 GB, free: 6.059 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.0003552/1.185, allocations: 243.9 kB / 1.22 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003013/1.186, allocations: 169.8 kB / 1.22 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/1.189, allocations: 1.296 MB / 1.221 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.189, allocations: 8 kB / 1.221 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/1.189, allocations: 0 / 1.221 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.189, allocations: 7.984 kB / 1.221 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00486/1.194, allocations: 2.538 MB / 1.224 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/1.194, allocations: 8.062 kB / 1.224 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007248/1.194, allocations: 151.8 kB / 1.224 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002429/1.195, allocations: 80.72 kB / 1.224 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/1.195, allocations: 19.98 kB / 1.224 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003914/1.195, allocations: 0.5953 MB / 1.225 GB, free: 0.8164 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.195, allocations: 7.922 kB / 1.225 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/1.198, allocations: 1.262 MB / 1.226 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000731/1.199, allocations: 350.5 kB / 1.226 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/1.199, allocations: 20 kB / 1.226 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008303/1.2, allocations: 59.94 kB / 1.226 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.2, allocations: 52.38 kB / 1.226 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/1.2, allocations: 43.95 kB / 1.226 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001544/1.201, allocations: 1.089 MB / 1.227 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/1.201, allocations: 0 / 1.227 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002671/1.204, allocations: 0.9316 MB / 1.228 GB, free: 12.91 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.001491/1.206, allocations: 0.6092 MB / 1.229 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004275/1.21, allocations: 1.771 MB / 1.231 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/1.21, allocations: 384 / 1.231 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00116/1.211, allocations: 495.4 kB / 1.231 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003549/1.215, allocations: 0.8391 MB / 1.232 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004679/1.219, allocations: 2.926 MB / 1.235 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/1.22, allocations: 1.385 MB / 1.236 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004698/1.221, allocations: 151.4 kB / 1.236 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of SimCode: time 9.32e-07/1.221, allocations: 0 / 1.236 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of Templates: time 0.05391/1.275, allocations: 40.5 MB / 1.276 GB, free: 12.44 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/jenkins1/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