Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001539/0.001539, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001529/0.001529, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.387/1.387, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.666/2.666, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9112/0.9127, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear): time 0.06122/0.974, allocations: 58.57 MB / 1.266 GB, free: 2.832 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03237/1.006, allocations: 19.93 MB / 1.285 GB, free: 14.86 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/1.011, allocations: 87.5 kB / 1.285 GB, free: 14.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.006601/1.017, allocations: 1.987 MB / 1.287 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009142/1.026, allocations: 2.955 MB / 1.29 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00661/1.033, allocations: 2.347 MB / 1.292 GB, free: 7.469 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.02215/1.055, allocations: 14.42 MB / 1.306 GB, free: 9.027 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/1.059, allocations: 1.826 MB / 1.308 GB, free: 7.168 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005554/1.065, allocations: 2.133 MB / 1.31 GB, free: 5.035 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003106/1.068, allocations: 1.569 MB / 1.312 GB, free: 3.461 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009416/1.069, allocations: 212 kB / 1.312 GB, free: 3.254 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/1.074, allocations: 2.34 MB / 1.314 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001397/1.076, allocations: 0.8918 MB / 1.315 GB, free: 16 kB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002902/1.079, allocations: 1.418 MB / 1.316 GB, free: 14.59 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009218/1.088, allocations: 4.681 MB / 1.321 GB, free: 9.895 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/1.088, allocations: 4 kB / 1.321 GB, free: 9.891 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.527e-06/1.088, allocations: 0 / 1.321 GB, free: 9.891 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001342/1.088, allocations: 3.938 kB / 1.321 GB, free: 9.887 MB / 1.045 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.007963/1.096, allocations: 3.258 MB / 1.324 GB, free: 6.551 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.096, allocations: 8.031 kB / 1.324 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005945/1.102, allocations: 0.9409 MB / 1.325 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009472/1.111, allocations: 3.571 MB / 1.329 GB, free: 1.957 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/1.112, allocations: 90.09 kB / 1.329 GB, free: 1.867 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/1.112, allocations: 120 kB / 1.329 GB, free: 1.75 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003864/1.116, allocations: 1.511 MB / 1.33 GB, free: 172 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/1.116, allocations: 8 kB / 1.33 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/1.116, allocations: 43.98 kB / 1.33 GB, free: 120 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/1.116, allocations: 28 kB / 1.33 GB, free: 92 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003578/1.12, allocations: 1.331 MB / 1.332 GB, free: 14.76 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.0118/1.132, allocations: 7.158 MB / 1.339 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/1.135, allocations: 1.018 MB / 1.34 GB, free: 6.129 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/1.136, allocations: 0.5021 MB / 1.34 GB, free: 5.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004589/1.14, allocations: 3.02 MB / 1.343 GB, free: 2.316 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.141, allocations: 39.06 kB / 1.343 GB, free: 2.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=58): time 2.204e-06/1.141, allocations: 0 / 1.343 GB, free: 2.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=58): time 0.005183/1.146, allocations: 1.712 MB / 1.345 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.146, allocations: 55.97 kB / 1.345 GB, free: 476 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00468/1.15, allocations: 2.667 MB / 1.348 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001971/1.151, allocations: 45.7 kB / 1.348 GB, free: 13.73 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.152, allocations: 1.052 MB / 1.349 GB, free: 12.67 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002954/1.152, allocations: 213 kB / 1.349 GB, free: 12.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007483/1.153, allocations: 439.1 kB / 1.349 GB, free: 12.02 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.645e-05/1.153, allocations: 301.1 kB / 1.349 GB, free: 11.73 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002125/1.155, allocations: 1.16 MB / 1.351 GB, free: 10.56 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002526/1.158, allocations: 1.563 MB / 1.352 GB, free: 8.848 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004445/1.162, allocations: 2.453 MB / 1.355 GB, free: 6.285 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/1.162, allocations: 4 kB / 1.355 GB, free: 6.281 MB / 1.076 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.006047/1.168, allocations: 3.049 MB / 1.358 GB, free: 3.215 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/1.168, allocations: 8 kB / 1.358 GB, free: 3.207 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.168, allocations: 8 kB / 1.358 GB, free: 3.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004756/1.169, allocations: 109.2 kB / 1.358 GB, free: 3.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/1.17, allocations: 351.5 kB / 1.358 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000563/1.171, allocations: 0.607 MB / 1.359 GB, free: 2.113 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/1.173, allocations: 238.2 kB / 1.359 GB, free: 1.879 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002555/1.173, allocations: 103.9 kB / 1.359 GB, free: 1.777 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002996/1.176, allocations: 1.503 MB / 1.36 GB, free: 276 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002242/1.179, allocations: 1.372 MB / 1.362 GB, free: 14.75 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003678/1.182, allocations: 2.09 MB / 1.364 GB, free: 12.55 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.806e-06/1.182, allocations: 4 kB / 1.364 GB, free: 12.54 MB / 1.092 GB Notification: Performance of matching and sorting (n=234) (initialization_lambda0): time 0.005465/1.188, allocations: 2.674 MB / 1.366 GB, free: 9.855 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.188, allocations: 12.38 kB / 1.366 GB, free: 9.844 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.188, allocations: 12 kB / 1.366 GB, free: 9.832 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005424/1.188, allocations: 120.8 kB / 1.367 GB, free: 9.711 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.19, allocations: 331.5 kB / 1.367 GB, free: 9.387 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00449/1.194, allocations: 2.829 MB / 1.37 GB, free: 6.348 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/1.197, allocations: 187.6 kB / 1.37 GB, free: 6.164 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/1.197, allocations: 87.97 kB / 1.37 GB, free: 6.078 MB / 1.092 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.0005152/1.197, allocations: 260.8 kB / 1.37 GB, free: 5.816 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/1.198, allocations: 236.8 kB / 1.37 GB, free: 5.582 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004336/1.202, allocations: 1.587 MB / 1.372 GB, free: 3.988 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/1.202, allocations: 8 kB / 1.372 GB, free: 3.98 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.202, allocations: 7.938 kB / 1.372 GB, free: 3.973 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/1.202, allocations: 3.984 kB / 1.372 GB, free: 3.969 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007092/1.209, allocations: 3.141 MB / 1.375 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.21, allocations: 4 kB / 1.375 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009273/1.21, allocations: 171.9 kB / 1.375 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/1.211, allocations: 72.8 kB / 1.375 GB, free: 0.4922 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.062e-05/1.211, allocations: 27.97 kB / 1.375 GB, free: 476 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004641/1.211, allocations: 0.5952 MB / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.211, allocations: 7.938 kB / 1.376 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00376/1.215, allocations: 1.524 MB / 1.377 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.216, allocations: 441.5 kB / 1.378 GB, free: 13.8 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000545/1.217, allocations: 23.98 kB / 1.378 GB, free: 13.78 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.218, allocations: 75.92 kB / 1.378 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.218, allocations: 64.36 kB / 1.378 GB, free: 13.64 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/1.218, allocations: 43.97 kB / 1.378 GB, free: 13.6 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00339/1.222, allocations: 1.78 MB / 1.38 GB, free: 11.82 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.21e-07/1.222, allocations: 0 / 1.38 GB, free: 11.82 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.003919/1.226, allocations: 1.244 MB / 1.381 GB, free: 10.57 MB / 1.107 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.001989/1.228, allocations: 0.781 MB / 1.382 GB, free: 9.793 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007394/1.235, allocations: 3.47 MB / 1.385 GB, free: 6.316 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/1.235, allocations: 0 / 1.385 GB, free: 6.316 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001676/1.237, allocations: 0.5943 MB / 1.386 GB, free: 5.719 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/1.243, allocations: 1.231 MB / 1.387 GB, free: 4.539 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008288/1.251, allocations: 4.182 MB / 1.391 GB, free: 308 kB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/1.253, allocations: 1.713 MB / 1.393 GB, free: 14.55 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009374/1.254, allocations: 219.2 kB / 1.393 GB, free: 14.33 MB / 1.123 GB Notification: Performance of SimCode: time 5.41e-07/1.254, allocations: 0 / 1.393 GB, free: 14.33 MB / 1.123 GB Notification: Performance of Templates: time 0.08208/1.336, allocations: 55.44 MB / 1.447 GB, free: 7.16 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.sim & ./Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_SpeedControlled_y_linear.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.SpeedControlled_y_linear.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches