Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump_dp.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.Example2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 112.1 kB / 16.42 MB, free: 6.504 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.001696/0.001696, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.271/1.271, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.415/2.415, allocations: 461.7 MB / 0.7353 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.12 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8046, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example2): time 0.02855/0.8332, allocations: 30.05 MB / 1.238 GB, free: 15.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01519/0.8484, allocations: 11.71 MB / 1.249 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.85, allocations: 47.75 kB / 1.249 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003752/0.8538, allocations: 1.501 MB / 1.25 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.8576, allocations: 1.613 MB / 1.252 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.8608, allocations: 1.463 MB / 1.254 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.008686/0.8695, allocations: 6.741 MB / 1.26 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002187/0.8718, allocations: 1.392 MB / 1.261 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003239/0.875, allocations: 1.491 MB / 1.263 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.8769, allocations: 1.105 MB / 1.264 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004278/0.8774, allocations: 128 kB / 1.264 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.8803, allocations: 1.306 MB / 1.265 GB, free: 2.906 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000711/0.8811, allocations: 0.5217 MB / 1.266 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001609/0.8827, allocations: 0.9755 MB / 1.267 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004442/0.8871, allocations: 3.046 MB / 1.27 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8872, allocations: 0 / 1.27 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8872, allocations: 0 / 1.27 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.238e-05/0.8873, allocations: 0 / 1.27 GB, free: 14.35 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004049/0.8913, allocations: 2.366 MB / 1.272 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8914, allocations: 8.031 kB / 1.272 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.8931, allocations: 385.2 kB / 1.272 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003607/0.8967, allocations: 2.403 MB / 1.275 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.956e-05/0.8968, allocations: 66 kB / 1.275 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.8969, allocations: 88 kB / 1.275 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.8986, allocations: 1.009 MB / 1.276 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.8987, allocations: 0 / 1.276 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.8987, allocations: 32 kB / 1.276 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.8988, allocations: 20 kB / 1.276 GB, free: 7.805 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.9003, allocations: 0.7531 MB / 1.277 GB, free: 7.051 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.005464/0.9058, allocations: 5.263 MB / 1.282 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.9071, allocations: 0.5592 MB / 1.282 GB, free: 0.8867 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006373/0.9077, allocations: 321.5 kB / 1.283 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002066/0.9098, allocations: 1.65 MB / 1.284 GB, free: 14.77 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007003/0.9105, allocations: 326.9 kB / 1.285 GB, free: 14.44 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002339/0.9107, allocations: 55.38 kB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of pre-optimization done (n=42): time 2.304e-06/0.9108, allocations: 3.938 kB / 1.285 GB, free: 14.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=42): time 0.003095/0.9139, allocations: 1.234 MB / 1.286 GB, free: 13.11 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.9139, allocations: 55.41 kB / 1.286 GB, free: 13.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.916, allocations: 1.869 MB / 1.288 GB, free: 11.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.9161, allocations: 41.7 kB / 1.288 GB, free: 11.09 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005934/0.9167, allocations: 0.7831 MB / 1.289 GB, free: 10.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.9168, allocations: 153.9 kB / 1.289 GB, free: 10.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003194/0.9171, allocations: 262.3 kB / 1.289 GB, free: 9.879 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.9173, allocations: 357.9 kB / 1.289 GB, free: 9.523 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007844/0.918, allocations: 456.9 kB / 1.29 GB, free: 9.074 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.9191, allocations: 0.8353 MB / 1.291 GB, free: 8.078 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.9207, allocations: 1.165 MB / 1.292 GB, free: 6.789 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.9208, allocations: 0 / 1.292 GB, free: 6.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002691/0.9235, allocations: 1.592 MB / 1.293 GB, free: 5.184 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.9235, allocations: 33.7 kB / 1.293 GB, free: 5.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.9235, allocations: 8 kB / 1.293 GB, free: 5.137 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006347/0.9242, allocations: 208.8 kB / 1.294 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/0.9249, allocations: 191.7 kB / 1.294 GB, free: 4.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006746/0.9256, allocations: 0.7707 MB / 1.294 GB, free: 3.945 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/0.9264, allocations: 67.95 kB / 1.295 GB, free: 3.879 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.9265, allocations: 51.98 kB / 1.295 GB, free: 3.828 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/0.9277, allocations: 0.8613 MB / 1.295 GB, free: 2.965 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000928/0.9287, allocations: 0.8148 MB / 1.296 GB, free: 1.988 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001431/0.9301, allocations: 1.133 MB / 1.297 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.13e-06/0.9301, allocations: 4 kB / 1.297 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.00232/0.9325, allocations: 1.58 MB / 1.299 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.9325, allocations: 35.58 kB / 1.299 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.9325, allocations: 8 kB / 1.299 GB, free: 15.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.9327, allocations: 105.4 kB / 1.299 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.9334, allocations: 195.7 kB / 1.299 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001973/0.9353, allocations: 2.356 MB / 1.302 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008745/0.9362, allocations: 79.94 kB / 1.302 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.855e-05/0.9363, allocations: 39.98 kB / 1.302 GB, free: 12.14 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,nRes.y,from_dp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 101 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {(5,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.9366, allocations: 248 kB / 1.302 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.9368, allocations: 169.8 kB / 1.302 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001935/0.9387, allocations: 0.9042 MB / 1.303 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/0.9401, allocations: 0.892 MB / 1.304 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.9402, allocations: 0 / 1.304 GB, free: 9.848 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004242/0.9406, allocations: 306.9 kB / 1.304 GB, free: 9.527 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/0.9408, allocations: 12 kB / 1.304 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.9414, allocations: 43.94 kB / 1.304 GB, free: 9.473 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.9415, allocations: 44.38 kB / 1.304 GB, free: 9.43 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001899/0.9434, allocations: 0.8241 MB / 1.305 GB, free: 8.594 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002015/0.9455, allocations: 1.182 MB / 1.306 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005619/0.946, allocations: 275.3 kB / 1.306 GB, free: 7.121 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001753/0.9478, allocations: 1.273 MB / 1.308 GB, free: 5.824 MB / 1.029 GB Notification: Performance of Backend: time 3.4e-07/0.9478, allocations: 0 / 1.308 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004588/0.9524, allocations: 2.191 MB / 1.31 GB, free: 3.602 MB / 1.029 GB Notification: Performance of SimCode: time 0.006236/0.9587, allocations: 3.956 MB / 1.314 GB, free: 15.61 MB / 1.045 GB Notification: Performance of Templates: time 0.0555/1.014, allocations: 36.63 MB / 1.349 GB, free: 11.38 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches