Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001342/0.001342, allocations: 115.4 kB / 16.42 MB, free: 6.5 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.001287/0.001287, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.305/1.305, 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 10.1.1-maint.10.0.x/package.mo): time 2.356/2.356, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 63.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7524/0.7539, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2304/0.9843, allocations: 237.6 MB / 1.399 GB, free: 5.43 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01952/1.004, allocations: 15.79 MB / 1.415 GB, free: 5.598 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/1.006, allocations: 63.62 kB / 1.415 GB, free: 5.535 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002376/1.008, allocations: 1.068 MB / 1.416 GB, free: 4.461 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/1.015, allocations: 3.102 MB / 1.419 GB, free: 1.348 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/1.019, allocations: 1.703 MB / 1.421 GB, free: 15.65 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004072/1.023, allocations: 3.437 MB / 1.424 GB, free: 12.2 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/1.025, allocations: 1.295 MB / 1.425 GB, free: 10.88 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005521/1.03, allocations: 2.574 MB / 1.428 GB, free: 8.305 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001774/1.032, allocations: 1.081 MB / 1.429 GB, free: 7.23 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001903/1.032, allocations: 120 kB / 1.429 GB, free: 7.113 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/1.038, allocations: 3.102 MB / 1.432 GB, free: 4.004 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/1.038, allocations: 482.3 kB / 1.432 GB, free: 3.531 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/1.039, allocations: 0.8124 MB / 1.433 GB, free: 2.715 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004486/1.044, allocations: 2.964 MB / 1.436 GB, free: 15.74 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.044, allocations: 0 / 1.436 GB, free: 15.74 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.142e-06/1.044, allocations: 4 kB / 1.436 GB, free: 15.74 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.325e-05/1.044, allocations: 0 / 1.436 GB, free: 15.74 MB / 1.17 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.003845/1.048, allocations: 2.001 MB / 1.438 GB, free: 13.68 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.048, allocations: 12.62 kB / 1.438 GB, free: 13.67 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002856/1.051, allocations: 0.4897 MB / 1.438 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/1.053, allocations: 1.176 MB / 1.44 GB, free: 11.95 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/1.053, allocations: 82 kB / 1.44 GB, free: 11.86 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/1.053, allocations: 92 kB / 1.44 GB, free: 11.77 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/1.056, allocations: 1.355 MB / 1.441 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/1.056, allocations: 3.938 kB / 1.441 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001124/1.056, allocations: 47.98 kB / 1.441 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.085e-05/1.056, allocations: 42 kB / 1.441 GB, free: 10.21 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002427/1.058, allocations: 1.05 MB / 1.442 GB, free: 9.16 MB / 1.17 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.007741/1.066, allocations: 7.387 MB / 1.449 GB, free: 1.297 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/1.067, allocations: 0.5425 MB / 1.45 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00063/1.068, allocations: 257.2 kB / 1.45 GB, free: 0.4922 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003775/1.069, allocations: 291.5 kB / 1.45 GB, free: 156 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/1.069, allocations: 34.84 kB / 1.451 GB, free: 112 kB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.194e-06/1.069, allocations: 0 / 1.451 GB, free: 112 kB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.00242/1.071, allocations: 0.8367 MB / 1.451 GB, free: 15.26 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/1.071, allocations: 55.41 kB / 1.451 GB, free: 15.2 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/1.073, allocations: 1.399 MB / 1.453 GB, free: 13.78 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.889e-05/1.073, allocations: 33.7 kB / 1.453 GB, free: 13.74 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/1.073, allocations: 0.7103 MB / 1.453 GB, free: 13.03 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/1.074, allocations: 114.5 kB / 1.454 GB, free: 12.92 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/1.074, allocations: 166.3 kB / 1.454 GB, free: 12.75 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.074, allocations: 334 kB / 1.454 GB, free: 12.41 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000837/1.075, allocations: 316.6 kB / 1.454 GB, free: 12.1 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/1.076, allocations: 0.6852 MB / 1.455 GB, free: 11.24 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/1.078, allocations: 0.9312 MB / 1.456 GB, free: 10.15 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/1.078, allocations: 4 kB / 1.456 GB, free: 10.15 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002301/1.08, allocations: 1.05 MB / 1.457 GB, free: 9.09 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.08, allocations: 12.03 kB / 1.457 GB, free: 9.078 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/1.08, allocations: 12 kB / 1.457 GB, free: 9.066 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/1.08, allocations: 16 kB / 1.457 GB, free: 9.051 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008604/1.081, allocations: 203.7 kB / 1.457 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/1.081, allocations: 23.92 kB / 1.457 GB, free: 8.828 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.082, allocations: 182.6 kB / 1.457 GB, free: 8.648 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/1.082, allocations: 43.94 kB / 1.457 GB, free: 8.605 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001184/1.084, allocations: 0.5643 MB / 1.458 GB, free: 8.039 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001089/1.085, allocations: 0.6853 MB / 1.459 GB, free: 7.176 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001718/1.086, allocations: 0.9295 MB / 1.46 GB, free: 6.086 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.892e-06/1.086, allocations: 4 kB / 1.46 GB, free: 6.082 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002316/1.089, allocations: 1.054 MB / 1.461 GB, free: 5.02 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.089, allocations: 11.94 kB / 1.461 GB, free: 5.008 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/1.089, allocations: 12 kB / 1.461 GB, free: 4.996 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/1.089, allocations: 19.94 kB / 1.461 GB, free: 4.977 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008383/1.09, allocations: 204.2 kB / 1.461 GB, free: 4.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/1.09, allocations: 23.92 kB / 1.461 GB, free: 4.754 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.091, allocations: 127.5 kB / 1.461 GB, free: 4.629 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/1.091, allocations: 43.98 kB / 1.461 GB, free: 4.586 MB / 1.186 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.0002306/1.091, allocations: 239.9 kB / 1.461 GB, free: 4.344 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/1.091, allocations: 146.2 kB / 1.461 GB, free: 4.199 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/1.093, allocations: 0.6298 MB / 1.462 GB, free: 3.559 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/1.093, allocations: 3.984 kB / 1.462 GB, free: 3.555 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.093, allocations: 0 / 1.462 GB, free: 3.555 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004543/1.093, allocations: 287.2 kB / 1.462 GB, free: 3.254 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/1.094, allocations: 8 kB / 1.462 GB, free: 3.246 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/1.095, allocations: 63.92 kB / 1.462 GB, free: 3.184 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/1.095, allocations: 19.97 kB / 1.462 GB, free: 3.164 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001578/1.096, allocations: 0.591 MB / 1.463 GB, free: 2.566 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001455/1.098, allocations: 0.769 MB / 1.464 GB, free: 1.781 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005976/1.098, allocations: 223.8 kB / 1.464 GB, free: 1.562 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001361/1.1, allocations: 0.956 MB / 1.465 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of Backend: time 4.21e-07/1.1, allocations: 0 / 1.465 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004321/1.104, allocations: 1.588 MB / 1.466 GB, free: 15.03 MB / 1.201 GB Notification: Performance of SimCode: time 0.005064/1.109, allocations: 2.928 MB / 1.469 GB, free: 12.05 MB / 1.201 GB Notification: Performance of Templates: time 0.04835/1.157, allocations: 33.49 MB / 1.502 GB, free: 10.83 MB / 1.232 GB make -j1 -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_10_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches