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.001854/0.001854, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002215/0.002215, allocations: 193 kB / 16.13 MB, free: 6.637 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.494/1.494, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.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.72/2.72, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 63.91 kB / 0.8686 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7378/0.7397, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2693/1.009, allocations: 235.4 MB / 1.247 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6843/1.693, allocations: 15.9 MB / 1.262 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/1.696, allocations: 60.66 kB / 1.262 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003081/1.7, allocations: 0.868 MB / 1.263 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008951/1.709, allocations: 2.796 MB / 1.266 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005057/1.714, allocations: 1.509 MB / 1.267 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01025/1.724, allocations: 4.664 MB / 1.272 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002636/1.727, allocations: 1.067 MB / 1.273 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008229/1.735, allocations: 2.263 MB / 1.275 GB, free: 1.773 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/1.74, allocations: 1.117 MB / 1.276 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005589/1.74, allocations: 67.56 kB / 1.276 GB, free: 1.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01159/1.752, allocations: 3.592 MB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001613/1.753, allocations: 429.9 kB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003189/1.757, allocations: 0.7565 MB / 1.281 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00883/1.765, allocations: 3.095 MB / 1.284 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.765, allocations: 4 kB / 1.284 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.352e-06/1.765, allocations: 4.281 kB / 1.284 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.797e-05/1.766, allocations: 0 / 1.284 GB, free: 1.543 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004867/1.77, allocations: 2.001 MB / 1.286 GB, free: 16.5 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/1.77, allocations: 9.625 kB / 1.286 GB, free: 16.5 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003022/1.773, allocations: 0.4953 MB / 1.286 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/1.776, allocations: 1.114 MB / 1.287 GB, free: 16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008421/1.777, allocations: 247.1 kB / 1.288 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/1.777, allocations: 96.94 kB / 1.288 GB, free: 15.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/1.78, allocations: 1.316 MB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/1.78, allocations: 8 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.78, allocations: 49.98 kB / 1.289 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/1.78, allocations: 47.31 kB / 1.289 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002277/1.782, allocations: 1.07 MB / 1.29 GB, free: 15.67 MB / 1.014 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.009031/1.791, allocations: 6.626 MB / 1.297 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/1.793, allocations: 0.5701 MB / 1.297 GB, free: 11.44 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000866/1.794, allocations: 272.7 kB / 1.297 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/1.795, allocations: 285.2 kB / 1.298 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/1.795, allocations: 37.78 kB / 1.298 GB, free: 11.1 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/1.795, allocations: 0 / 1.298 GB, free: 11.1 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.003548/1.799, allocations: 0.8656 MB / 1.299 GB, free: 10.96 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/1.799, allocations: 60.53 kB / 1.299 GB, free: 10.9 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.801, allocations: 1.362 MB / 1.3 GB, free: 10.73 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.802, allocations: 31.67 kB / 1.3 GB, free: 10.7 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/1.802, allocations: 0.6875 MB / 1.301 GB, free: 10.44 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/1.802, allocations: 117.4 kB / 1.301 GB, free: 10.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/1.803, allocations: 149.1 kB / 1.301 GB, free: 10.34 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.803, allocations: 330.8 kB / 1.301 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/1.804, allocations: 312 kB / 1.302 GB, free: 10.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/1.805, allocations: 0.628 MB / 1.302 GB, free: 9.625 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/1.808, allocations: 0.8594 MB / 1.303 GB, free: 9.258 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.808, allocations: 7.156 kB / 1.303 GB, free: 9.254 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.003347/1.811, allocations: 0.9944 MB / 1.304 GB, free: 9.137 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.404e-05/1.811, allocations: 8.656 kB / 1.304 GB, free: 9.137 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/1.811, allocations: 18.94 kB / 1.304 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.777e-05/1.811, allocations: 10.22 kB / 1.304 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.812, allocations: 191.7 kB / 1.304 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.931e-05/1.812, allocations: 21.14 kB / 1.304 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/1.815, allocations: 214.8 kB / 1.304 GB, free: 9.059 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.815, allocations: 39.16 kB / 1.304 GB, free: 9.059 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001722/1.817, allocations: 0.5606 MB / 1.305 GB, free: 8.969 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001459/1.818, allocations: 0.6237 MB / 1.306 GB, free: 8.574 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002408/1.821, allocations: 0.8567 MB / 1.306 GB, free: 8.207 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.212e-05/1.821, allocations: 2.406 kB / 1.306 GB, free: 8.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=78) (initialization_lambda0): time 0.003505/1.824, allocations: 0.999 MB / 1.307 GB, free: 8.082 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.824, allocations: 6.875 kB / 1.307 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/1.824, allocations: 8.812 kB / 1.307 GB, free: 8.082 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/1.824, allocations: 17.03 kB / 1.307 GB, free: 8.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008054/1.825, allocations: 195.5 kB / 1.308 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/1.825, allocations: 18.95 kB / 1.308 GB, free: 8.074 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.827, allocations: 162.3 kB / 1.308 GB, free: 8.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/1.827, allocations: 36.81 kB / 1.308 GB, free: 8.039 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (78): * Single equations (assignments): 78 * 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.0003985/1.828, allocations: 226.8 kB / 1.308 GB, free: 7.852 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/1.828, allocations: 138.1 kB / 1.308 GB, free: 7.781 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/1.83, allocations: 0.6622 MB / 1.309 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.83, allocations: 4.688 kB / 1.309 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.83, allocations: 0 / 1.309 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/1.83, allocations: 3.141 kB / 1.309 GB, free: 7.695 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/1.834, allocations: 1.936 MB / 1.311 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/1.834, allocations: 2.531 kB / 1.311 GB, free: 7.211 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006903/1.835, allocations: 94.28 kB / 1.311 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/1.835, allocations: 6.375 kB / 1.311 GB, free: 7.207 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/1.835, allocations: 24.69 kB / 1.311 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.217e-05/1.835, allocations: 9.312 kB / 1.311 GB, free: 7.199 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.835, allocations: 10.22 kB / 1.311 GB, free: 7.191 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/1.838, allocations: 0.8109 MB / 1.312 GB, free: 6.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001078/1.839, allocations: 300 kB / 1.312 GB, free: 6.664 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003356/1.839, allocations: 18.5 kB / 1.312 GB, free: 6.656 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/1.841, allocations: 100.6 kB / 1.312 GB, free: 6.645 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.841, allocations: 37.64 kB / 1.312 GB, free: 6.637 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.097e-05/1.841, allocations: 21.44 kB / 1.312 GB, free: 6.637 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002452/1.843, allocations: 0.9947 MB / 1.313 GB, free: 6.523 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.81e-07/1.843, allocations: 3.406 kB / 1.313 GB, free: 6.523 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002894/1.846, allocations: 0.5623 MB / 1.314 GB, free: 6.477 MB / 1.014 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.0008893/1.847, allocations: 273 kB / 1.314 GB, free: 6.348 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0038/1.851, allocations: 1.084 MB / 1.315 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.851, allocations: 0 / 1.315 GB, free: 6.316 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009138/1.852, allocations: 260.8 kB / 1.315 GB, free: 6.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006138/1.858, allocations: 0.7454 MB / 1.316 GB, free: 6.242 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008259/1.866, allocations: 2.685 MB / 1.319 GB, free: 4.852 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/1.868, allocations: 1.183 MB / 1.32 GB, free: 4.121 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002767/1.871, allocations: 373.1 kB / 1.32 GB, free: 4.023 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002834/1.871, allocations: 95.72 kB / 1.32 GB, free: 4.016 MB / 1.014 GB Notification: Performance of SimCode: time 2.334e-06/1.871, allocations: 0 / 1.32 GB, free: 4.016 MB / 1.014 GB Notification: Performance of Templates: time 0.0491/1.92, allocations: 24.1 MB / 1.344 GB, free: 12.72 MB / 1.029 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Examples.Performance.Example4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches