Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow",fileNamePrefix="Buildings_latest_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_latest_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.006443/0.006443, allocations: 103.2 kB / 15.73 MB, free: 6.043 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.001499/0.001499, allocations: 194.1 kB / 16.68 MB, free: 5.965 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.793/2.793, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 68.09 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2881, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8719/1.16, allocations: 237.6 MB / 1.44 GB, free: 9.039 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02087/1.181, allocations: 15.79 MB / 1.455 GB, free: 9.262 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003788/1.185, allocations: 63.62 kB / 1.455 GB, free: 9.199 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/1.188, allocations: 1.037 MB / 1.456 GB, free: 8.156 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009609/1.198, allocations: 2.975 MB / 1.459 GB, free: 5.168 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004959/1.203, allocations: 1.689 MB / 1.461 GB, free: 3.492 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005147/1.208, allocations: 3.438 MB / 1.464 GB, free: 44 kB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/1.21, allocations: 1.284 MB / 1.465 GB, free: 14.73 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/1.216, allocations: 2.529 MB / 1.468 GB, free: 12.21 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/1.218, allocations: 1.076 MB / 1.469 GB, free: 11.14 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002207/1.218, allocations: 120 kB / 1.469 GB, free: 11.03 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/1.224, allocations: 3.098 MB / 1.472 GB, free: 7.922 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/1.224, allocations: 478.3 kB / 1.473 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009342/1.225, allocations: 0.8085 MB / 1.473 GB, free: 6.641 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004556/1.23, allocations: 2.968 MB / 1.476 GB, free: 3.664 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/1.23, allocations: 0 / 1.476 GB, free: 3.664 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.774e-06/1.23, allocations: 0 / 1.476 GB, free: 3.664 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.024e-05/1.23, allocations: 0 / 1.476 GB, free: 3.664 MB / 1.154 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.003456/1.233, allocations: 2.006 MB / 1.478 GB, free: 1.605 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.233, allocations: 8.625 kB / 1.478 GB, free: 1.598 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00272/1.236, allocations: 0.4975 MB / 1.479 GB, free: 1.098 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002364/1.238, allocations: 1.172 MB / 1.48 GB, free: 15.86 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/1.238, allocations: 74 kB / 1.48 GB, free: 15.79 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.238, allocations: 104 kB / 1.48 GB, free: 15.69 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/1.241, allocations: 1.358 MB / 1.481 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/1.241, allocations: 7.938 kB / 1.481 GB, free: 14.21 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.965e-05/1.241, allocations: 40 kB / 1.481 GB, free: 14.17 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.345e-05/1.241, allocations: 49.98 kB / 1.481 GB, free: 14.12 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/1.243, allocations: 1.046 MB / 1.482 GB, free: 13.07 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.007769/1.251, allocations: 7.379 MB / 1.49 GB, free: 5.219 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/1.253, allocations: 0.5383 MB / 1.49 GB, free: 4.676 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/1.253, allocations: 265.2 kB / 1.49 GB, free: 4.414 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/1.254, allocations: 287.6 kB / 1.491 GB, free: 4.078 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/1.254, allocations: 38.78 kB / 1.491 GB, free: 4.031 MB / 1.17 GB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/1.254, allocations: 0 / 1.491 GB, free: 4.031 MB / 1.17 GB Notification: Performance of matching and sorting (n=33): time 0.002381/1.256, allocations: 0.8416 MB / 1.492 GB, free: 3.184 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/1.256, allocations: 55.41 kB / 1.492 GB, free: 3.117 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.258, allocations: 1.395 MB / 1.493 GB, free: 1.711 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/1.258, allocations: 33.7 kB / 1.493 GB, free: 1.672 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005081/1.259, allocations: 0.7064 MB / 1.494 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/1.259, allocations: 110.5 kB / 1.494 GB, free: 0.8516 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.259, allocations: 170.3 kB / 1.494 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001067/1.259, allocations: 333.9 kB / 1.494 GB, free: 352 kB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/1.26, allocations: 316.6 kB / 1.495 GB, free: 32 kB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/1.261, allocations: 0.6815 MB / 1.495 GB, free: 15.17 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001737/1.263, allocations: 0.9336 MB / 1.496 GB, free: 14.07 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/1.263, allocations: 4 kB / 1.496 GB, free: 14.07 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00235/1.265, allocations: 1.055 MB / 1.497 GB, free: 13.01 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.265, allocations: 8 kB / 1.497 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/1.265, allocations: 16.95 kB / 1.497 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.265, allocations: 16 kB / 1.497 GB, free: 12.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000849/1.266, allocations: 199.7 kB / 1.497 GB, free: 12.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/1.266, allocations: 23.88 kB / 1.497 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/1.267, allocations: 186.6 kB / 1.498 GB, free: 12.57 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.988e-05/1.267, allocations: 43.98 kB / 1.498 GB, free: 12.52 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001199/1.269, allocations: 0.5643 MB / 1.498 GB, free: 11.96 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/1.27, allocations: 0.6853 MB / 1.499 GB, free: 11.1 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001664/1.271, allocations: 0.9215 MB / 1.5 GB, free: 10.02 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.331e-06/1.271, allocations: 4 kB / 1.5 GB, free: 10.01 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002393/1.274, allocations: 1.051 MB / 1.501 GB, free: 8.953 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/1.274, allocations: 19.88 kB / 1.501 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.274, allocations: 16.56 kB / 1.501 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/1.274, allocations: 16.09 kB / 1.501 GB, free: 8.902 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/1.275, allocations: 204 kB / 1.501 GB, free: 8.703 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/1.275, allocations: 19.94 kB / 1.501 GB, free: 8.684 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.276, allocations: 135.5 kB / 1.501 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.092e-05/1.276, allocations: 43.98 kB / 1.501 GB, free: 8.508 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.0002766/1.276, allocations: 239.9 kB / 1.501 GB, free: 8.266 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/1.277, allocations: 146.2 kB / 1.502 GB, free: 8.121 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/1.278, allocations: 0.6409 MB / 1.502 GB, free: 7.465 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.278, allocations: 4 kB / 1.502 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/1.278, allocations: 0 / 1.502 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/1.278, allocations: 0 / 1.502 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/1.282, allocations: 1.896 MB / 1.504 GB, free: 5.461 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.282, allocations: 4 kB / 1.504 GB, free: 5.457 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/1.282, allocations: 92.08 kB / 1.504 GB, free: 5.367 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.282, allocations: 7.938 kB / 1.504 GB, free: 5.359 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/1.282, allocations: 15.98 kB / 1.504 GB, free: 5.344 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/1.282, allocations: 4 kB / 1.504 GB, free: 5.34 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.282, allocations: 7.938 kB / 1.504 GB, free: 5.332 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/1.284, allocations: 0.8072 MB / 1.505 GB, free: 4.457 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/1.285, allocations: 303 kB / 1.505 GB, free: 4.141 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001655/1.285, allocations: 12 kB / 1.505 GB, free: 4.129 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/1.286, allocations: 67.92 kB / 1.505 GB, free: 4.062 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/1.286, allocations: 35.84 kB / 1.505 GB, free: 4.027 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/1.286, allocations: 27.97 kB / 1.505 GB, free: 4 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001406/1.287, allocations: 1.001 MB / 1.506 GB, free: 3.004 MB / 1.186 GB Notification: Performance of sort global known variables: time 2.51e-07/1.287, allocations: 4 kB / 1.506 GB, free: 3 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001728/1.289, allocations: 0.5696 MB / 1.507 GB, free: 2.43 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0005318/1.29, allocations: 272.2 kB / 1.507 GB, free: 2.164 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002742/1.292, allocations: 1.121 MB / 1.508 GB, free: 1.047 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.292, allocations: 0 / 1.508 GB, free: 1.047 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006659/1.293, allocations: 256.5 kB / 1.509 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.296, allocations: 0.7384 MB / 1.509 GB, free: 64 kB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/1.301, allocations: 2.246 MB / 1.511 GB, free: 13.73 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006857/1.302, allocations: 1.182 MB / 1.513 GB, free: 12.52 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.00125/1.303, allocations: 391.8 kB / 1.513 GB, free: 12.13 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/1.303, allocations: 99.41 kB / 1.513 GB, free: 12.04 MB / 1.201 GB Notification: Performance of SimCode: time 6.61e-07/1.303, allocations: 0 / 1.513 GB, free: 12.04 MB / 1.201 GB Notification: Performance of Templates: time 0.03992/1.343, allocations: 25.56 MB / 1.538 GB, free: 2.785 MB / 1.217 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_latest_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Examples.Performance.Example4_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Examples_Performance_Example4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches