Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001025/0.001025, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.272/1.272, allocations: 222.9 MB / 241 MB, free: 15.21 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.157/2.157, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7671/0.7686, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2656/1.034, allocations: 237.6 MB / 1.321 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02162/1.056, allocations: 15.77 MB / 1.336 GB, free: 140 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/1.058, allocations: 63.62 kB / 1.336 GB, free: 76 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/1.061, allocations: 1.068 MB / 1.337 GB, free: 15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007709/1.069, allocations: 3.118 MB / 1.34 GB, free: 11.87 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004384/1.073, allocations: 1.689 MB / 1.342 GB, free: 10.19 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00457/1.078, allocations: 3.449 MB / 1.345 GB, free: 6.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002002/1.08, allocations: 1.287 MB / 1.346 GB, free: 5.41 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005634/1.085, allocations: 2.568 MB / 1.349 GB, free: 2.844 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002151/1.087, allocations: 1.085 MB / 1.35 GB, free: 1.766 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003378/1.088, allocations: 116 kB / 1.35 GB, free: 1.652 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005389/1.093, allocations: 3.11 MB / 1.353 GB, free: 14.54 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006171/1.094, allocations: 474.5 kB / 1.354 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/1.095, allocations: 0.8162 MB / 1.354 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005491/1.101, allocations: 2.96 MB / 1.357 GB, free: 10.28 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/1.101, allocations: 0 / 1.357 GB, free: 10.28 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.893e-06/1.101, allocations: 0 / 1.357 GB, free: 10.28 MB / 1.092 GB Notification: Performance of Transformations before backend: time 7.742e-05/1.101, allocations: 4 kB / 1.357 GB, free: 10.28 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004387/1.105, allocations: 2.001 MB / 1.359 GB, free: 8.223 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/1.105, allocations: 8.031 kB / 1.359 GB, free: 8.215 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002932/1.108, allocations: 0.5014 MB / 1.36 GB, free: 7.711 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/1.111, allocations: 1.172 MB / 1.361 GB, free: 6.48 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-05/1.111, allocations: 74 kB / 1.361 GB, free: 6.41 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.111, allocations: 104 kB / 1.361 GB, free: 6.309 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/1.113, allocations: 1.342 MB / 1.362 GB, free: 4.844 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.113, allocations: 7.938 kB / 1.362 GB, free: 4.836 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/1.114, allocations: 43.98 kB / 1.362 GB, free: 4.793 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/1.114, allocations: 50 kB / 1.362 GB, free: 4.746 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/1.116, allocations: 1.05 MB / 1.364 GB, free: 3.691 MB / 1.092 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.008215/1.124, allocations: 7.397 MB / 1.371 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.126, allocations: 0.5444 MB / 1.371 GB, free: 11.27 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/1.127, allocations: 261.2 kB / 1.372 GB, free: 11.01 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003708/1.127, allocations: 275.6 kB / 1.372 GB, free: 10.69 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/1.127, allocations: 38.84 kB / 1.372 GB, free: 10.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/1.127, allocations: 7.938 kB / 1.372 GB, free: 10.63 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.002437/1.129, allocations: 0.8322 MB / 1.373 GB, free: 9.793 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/1.129, allocations: 55.41 kB / 1.373 GB, free: 9.727 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/1.131, allocations: 1.391 MB / 1.374 GB, free: 8.324 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.624e-05/1.132, allocations: 33.7 kB / 1.374 GB, free: 8.285 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005443/1.132, allocations: 0.7064 MB / 1.375 GB, free: 7.574 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.132, allocations: 122.4 kB / 1.375 GB, free: 7.453 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/1.132, allocations: 166.3 kB / 1.375 GB, free: 7.285 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.133, allocations: 337.9 kB / 1.375 GB, free: 6.949 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008497/1.133, allocations: 312.6 kB / 1.376 GB, free: 6.641 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001117/1.135, allocations: 0.693 MB / 1.376 GB, free: 5.77 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.136, allocations: 0.9214 MB / 1.377 GB, free: 4.688 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/1.136, allocations: 4 kB / 1.377 GB, free: 4.684 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002387/1.139, allocations: 1.055 MB / 1.378 GB, free: 3.621 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/1.139, allocations: 14.02 kB / 1.378 GB, free: 3.609 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/1.139, allocations: 12 kB / 1.378 GB, free: 3.598 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/1.139, allocations: 16 kB / 1.378 GB, free: 3.582 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/1.14, allocations: 208.3 kB / 1.379 GB, free: 3.379 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.632e-05/1.14, allocations: 23.92 kB / 1.379 GB, free: 3.355 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.141, allocations: 178.7 kB / 1.379 GB, free: 3.18 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/1.141, allocations: 43.98 kB / 1.379 GB, free: 3.137 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/1.142, allocations: 0.5682 MB / 1.379 GB, free: 2.562 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001084/1.143, allocations: 0.6852 MB / 1.38 GB, free: 1.699 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001697/1.145, allocations: 0.9292 MB / 1.381 GB, free: 0.6094 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.342e-06/1.145, allocations: 4 kB / 1.381 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002345/1.147, allocations: 1.047 MB / 1.382 GB, free: 15.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/1.148, allocations: 12.19 kB / 1.382 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.148, allocations: 16 kB / 1.382 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.148, allocations: 16 kB / 1.382 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/1.148, allocations: 199.6 kB / 1.382 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/1.148, allocations: 27.92 kB / 1.382 GB, free: 15.28 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.15, allocations: 131.5 kB / 1.382 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/1.15, allocations: 36 kB / 1.382 GB, free: 15.12 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002402/1.15, allocations: 239.9 kB / 1.383 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/1.15, allocations: 142.2 kB / 1.383 GB, free: 14.73 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001674/1.152, allocations: 0.6443 MB / 1.383 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/1.152, allocations: 3.984 kB / 1.383 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/1.152, allocations: 3.938 kB / 1.383 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/1.152, allocations: 283.2 kB / 1.384 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/1.153, allocations: 7.938 kB / 1.384 GB, free: 13.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009383/1.154, allocations: 63.92 kB / 1.384 GB, free: 13.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.097e-05/1.154, allocations: 27.89 kB / 1.384 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001628/1.155, allocations: 0.5826 MB / 1.384 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001482/1.157, allocations: 0.7657 MB / 1.385 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005802/1.157, allocations: 223.8 kB / 1.385 GB, free: 12.08 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001451/1.159, allocations: 0.9521 MB / 1.386 GB, free: 11.13 MB / 1.123 GB Notification: Performance of Backend: time 4.51e-07/1.159, allocations: 4 kB / 1.386 GB, free: 11.13 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004439/1.163, allocations: 1.583 MB / 1.388 GB, free: 9.551 MB / 1.123 GB Notification: Performance of SimCode: time 0.005122/1.169, allocations: 2.93 MB / 1.391 GB, free: 6.57 MB / 1.123 GB Notification: Performance of Templates: time 0.05036/1.219, allocations: 33.5 MB / 1.423 GB, free: 5.363 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_9_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches