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.008977/0.008977, allocations: 101.1 kB / 15.73 MB, free: 6.016 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.001905/0.001905, allocations: 192.7 kB / 16.67 MB, free: 5.934 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.396/2.396, allocations: 437 MB / 0.7105 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 60.12 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9193/0.9205, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2504/1.171, allocations: 237.6 MB / 1.399 GB, free: 5.398 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02671/1.198, allocations: 15.79 MB / 1.414 GB, free: 5.57 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/1.202, allocations: 67.62 kB / 1.414 GB, free: 5.504 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004151/1.206, allocations: 1.068 MB / 1.415 GB, free: 4.43 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/1.219, allocations: 3.102 MB / 1.418 GB, free: 1.316 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.006861/1.226, allocations: 1.695 MB / 1.42 GB, free: 15.63 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.007866/1.233, allocations: 3.434 MB / 1.423 GB, free: 12.18 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003161/1.237, allocations: 1.303 MB / 1.424 GB, free: 10.84 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007268/1.244, allocations: 2.579 MB / 1.427 GB, free: 8.27 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002289/1.246, allocations: 1.072 MB / 1.428 GB, free: 7.203 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003847/1.247, allocations: 116 kB / 1.428 GB, free: 7.09 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006069/1.253, allocations: 3.11 MB / 1.431 GB, free: 3.973 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006794/1.253, allocations: 486.3 kB / 1.432 GB, free: 3.496 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001453/1.255, allocations: 0.8046 MB / 1.432 GB, free: 2.688 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006251/1.261, allocations: 2.974 MB / 1.435 GB, free: 15.7 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/1.261, allocations: 4 kB / 1.435 GB, free: 15.7 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.973e-06/1.261, allocations: 4 kB / 1.435 GB, free: 15.7 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.654e-05/1.261, allocations: 0 / 1.435 GB, free: 15.7 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.004646/1.266, allocations: 2.061 MB / 1.437 GB, free: 13.57 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.266, allocations: 8.922 kB / 1.437 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002829/1.269, allocations: 0.5063 MB / 1.438 GB, free: 13.06 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/1.271, allocations: 1.181 MB / 1.439 GB, free: 11.82 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.534e-05/1.272, allocations: 78 kB / 1.439 GB, free: 11.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/1.272, allocations: 96 kB / 1.439 GB, free: 11.65 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002589/1.274, allocations: 1.355 MB / 1.44 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/1.274, allocations: 7.938 kB / 1.44 GB, free: 10.17 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/1.274, allocations: 44 kB / 1.441 GB, free: 10.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/1.274, allocations: 45.98 kB / 1.441 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002529/1.277, allocations: 1.046 MB / 1.442 GB, free: 9.039 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.00823/1.285, allocations: 7.404 MB / 1.449 GB, free: 1.16 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/1.287, allocations: 0.5347 MB / 1.449 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006234/1.287, allocations: 261.2 kB / 1.45 GB, free: 368 kB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/1.288, allocations: 291.4 kB / 1.45 GB, free: 20 kB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/1.288, allocations: 42.83 kB / 1.45 GB, free: 15.97 MB / 1.186 GB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/1.288, allocations: 3.938 kB / 1.45 GB, free: 15.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=33): time 0.002358/1.29, allocations: 0.8413 MB / 1.451 GB, free: 15.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/1.29, allocations: 55.41 kB / 1.451 GB, free: 15.05 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/1.292, allocations: 1.399 MB / 1.452 GB, free: 13.64 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.246e-05/1.292, allocations: 29.7 kB / 1.452 GB, free: 13.6 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/1.293, allocations: 0.7196 MB / 1.453 GB, free: 12.88 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.293, allocations: 127 kB / 1.453 GB, free: 12.75 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004135/1.293, allocations: 166.5 kB / 1.453 GB, free: 12.58 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000202/1.294, allocations: 337.9 kB / 1.453 GB, free: 12.25 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/1.295, allocations: 312.6 kB / 1.454 GB, free: 11.94 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/1.296, allocations: 0.6853 MB / 1.454 GB, free: 11.08 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/1.298, allocations: 0.927 MB / 1.455 GB, free: 9.992 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/1.298, allocations: 4 kB / 1.455 GB, free: 9.988 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003214/1.302, allocations: 1.059 MB / 1.456 GB, free: 8.922 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/1.302, allocations: 16.03 kB / 1.456 GB, free: 8.906 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/1.302, allocations: 12 kB / 1.456 GB, free: 8.895 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.302, allocations: 16 kB / 1.456 GB, free: 8.879 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/1.303, allocations: 207.7 kB / 1.457 GB, free: 8.676 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.571e-05/1.303, allocations: 19.94 kB / 1.457 GB, free: 8.656 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.304, allocations: 185.3 kB / 1.457 GB, free: 8.477 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.931e-05/1.304, allocations: 43.92 kB / 1.457 GB, free: 8.434 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001294/1.306, allocations: 0.5643 MB / 1.457 GB, free: 7.867 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001197/1.307, allocations: 0.6891 MB / 1.458 GB, free: 7 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001956/1.309, allocations: 0.9217 MB / 1.459 GB, free: 5.918 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.318e-06/1.309, allocations: 4 kB / 1.459 GB, free: 5.914 MB / 1.186 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002463/1.311, allocations: 1.059 MB / 1.46 GB, free: 4.848 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.311, allocations: 15.94 kB / 1.46 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.311, allocations: 12 kB / 1.46 GB, free: 4.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/1.311, allocations: 19.94 kB / 1.46 GB, free: 4.801 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007915/1.312, allocations: 204.2 kB / 1.46 GB, free: 4.602 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/1.312, allocations: 19.94 kB / 1.46 GB, free: 4.582 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/1.313, allocations: 143.5 kB / 1.46 GB, free: 4.441 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/1.314, allocations: 39.98 kB / 1.46 GB, free: 4.402 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.0002482/1.314, allocations: 239.9 kB / 1.461 GB, free: 4.16 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002721/1.314, allocations: 151 kB / 1.461 GB, free: 4.012 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/1.316, allocations: 0.6453 MB / 1.461 GB, free: 3.355 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.316, allocations: 4 kB / 1.461 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/1.316, allocations: 0 / 1.461 GB, free: 3.352 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.316, allocations: 4 kB / 1.461 GB, free: 3.348 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004109/1.32, allocations: 1.88 MB / 1.463 GB, free: 1.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.32, allocations: 8.25 kB / 1.463 GB, free: 1.352 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/1.321, allocations: 95.8 kB / 1.463 GB, free: 1.258 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/1.321, allocations: 4 kB / 1.463 GB, free: 1.254 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.321, allocations: 15.98 kB / 1.463 GB, free: 1.238 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/1.321, allocations: 4 kB / 1.463 GB, free: 1.234 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.499e-05/1.321, allocations: 7.938 kB / 1.463 GB, free: 1.227 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/1.322, allocations: 0.8166 MB / 1.464 GB, free: 352 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/1.323, allocations: 303.9 kB / 1.465 GB, free: 28 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/1.323, allocations: 12 kB / 1.465 GB, free: 16 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.324, allocations: 67.92 kB / 1.465 GB, free: 15.95 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-05/1.324, allocations: 39.84 kB / 1.465 GB, free: 15.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/1.324, allocations: 15.98 kB / 1.465 GB, free: 15.89 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001636/1.326, allocations: 1.013 MB / 1.466 GB, free: 14.89 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.8e-07/1.326, allocations: 0 / 1.466 GB, free: 14.89 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001837/1.328, allocations: 0.5775 MB / 1.466 GB, free: 14.31 MB / 1.201 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.0006103/1.328, allocations: 268.4 kB / 1.466 GB, free: 14.05 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002873/1.331, allocations: 1.129 MB / 1.468 GB, free: 12.92 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/1.331, allocations: 0 / 1.468 GB, free: 12.92 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000671/1.332, allocations: 256.9 kB / 1.468 GB, free: 12.67 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00347/1.336, allocations: 0.7387 MB / 1.469 GB, free: 11.94 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/1.341, allocations: 2.292 MB / 1.471 GB, free: 9.566 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/1.342, allocations: 1.182 MB / 1.472 GB, free: 8.355 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001406/1.343, allocations: 387.8 kB / 1.472 GB, free: 7.973 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000265/1.343, allocations: 99.41 kB / 1.472 GB, free: 7.875 MB / 1.201 GB Notification: Performance of SimCode: time 7.82e-07/1.343, allocations: 3.938 kB / 1.472 GB, free: 7.871 MB / 1.201 GB Notification: Performance of Templates: time 0.04866/1.392, allocations: 25.16 MB / 1.497 GB, free: 15.02 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/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