Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 215.3 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 0.49 GB / 0.7959 GB, free: 35.56 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|C.C|C1.C|vol4.C.1.|C2.C|C3.C",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 68.86 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.3265/0.6597, allocations: 272 MB / 1.593 GB, free: 15.99 MB / 1.295 GB Notification: Performance of NFInst.instExpressions: time 0.8624/1.522, allocations: 24.01 MB / 1.616 GB, free: 4.414 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004442/1.527, allocations: 180.7 kB / 1.616 GB, free: 4.414 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.005273/1.532, allocations: 1.737 MB / 1.618 GB, free: 4.414 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.01805/1.55, allocations: 6.23 MB / 1.624 GB, free: 4.348 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.00979/1.56, allocations: 2.708 MB / 1.627 GB, free: 4.297 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.01905/1.579, allocations: 9.142 MB / 1.636 GB, free: 4.273 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005831/1.584, allocations: 2.568 MB / 1.638 GB, free: 20.03 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01436/1.599, allocations: 4.895 MB / 1.643 GB, free: 19.99 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007621/1.606, allocations: 3.136 MB / 1.646 GB, free: 19.98 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.00207/1.609, allocations: 359.4 kB / 1.646 GB, free: 19.98 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/1.62, allocations: 3.805 MB / 1.65 GB, free: 19.93 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.004082/1.624, allocations: 1.685 MB / 1.652 GB, free: 19.93 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.006561/1.631, allocations: 1.788 MB / 1.653 GB, free: 19.84 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/1.646, allocations: 6.684 MB / 1.66 GB, free: 19 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.646, allocations: 3.094 kB / 1.66 GB, free: 19 MB / 1.311 GB Notification: Performance of FrontEnd: time 2.515e-06/1.646, allocations: 3.719 kB / 1.66 GB, free: 19 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0002775/1.646, allocations: 0 / 1.66 GB, free: 19 MB / 1.311 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.01261/1.659, allocations: 4.229 MB / 1.664 GB, free: 17.14 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/1.659, allocations: 9.156 kB / 1.664 GB, free: 17.14 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007146/1.666, allocations: 0.957 MB / 1.665 GB, free: 16.93 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007006/1.673, allocations: 2.322 MB / 1.667 GB, free: 16.29 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000379/1.673, allocations: 326.9 kB / 1.668 GB, free: 16.15 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001229/1.675, allocations: 289.7 kB / 1.668 GB, free: 16.15 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009715/1.684, allocations: 4.001 MB / 1.672 GB, free: 15.11 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/1.685, allocations: 6.672 kB / 1.672 GB, free: 15.1 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007573/1.685, allocations: 114.6 kB / 1.672 GB, free: 15.1 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001149/1.685, allocations: 109.2 kB / 1.672 GB, free: 15.09 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/1.691, allocations: 2.79 MB / 1.675 GB, free: 15.06 MB / 1.311 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.01659/1.708, allocations: 7.575 MB / 1.682 GB, free: 13.21 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002668/1.71, allocations: 1.599 MB / 1.684 GB, free: 13.17 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.712, allocations: 1.028 MB / 1.685 GB, free: 13.15 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004285/1.712, allocations: 91.17 kB / 1.685 GB, free: 13.14 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/1.713, allocations: 59.81 kB / 1.685 GB, free: 13.1 MB / 1.311 GB Notification: Performance of pre-optimization done (n=182): time 4.488e-06/1.713, allocations: 0 / 1.685 GB, free: 13.1 MB / 1.311 GB Notification: Performance of matching and sorting (n=182): time 0.005241/1.718, allocations: 2.735 MB / 1.688 GB, free: 12.87 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/1.718, allocations: 70.12 kB / 1.688 GB, free: 12.8 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003159/1.721, allocations: 1.867 MB / 1.689 GB, free: 12.56 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.0003112/1.721, allocations: 68.08 kB / 1.69 GB, free: 12.53 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.722, allocations: 1.445 MB / 1.691 GB, free: 11.95 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008345/1.723, allocations: 0.6661 MB / 1.692 GB, free: 11.51 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005877/1.724, allocations: 391 kB / 1.692 GB, free: 11.47 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.724, allocations: 304.8 kB / 1.692 GB, free: 11.18 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/1.725, allocations: 0.8184 MB / 1.693 GB, free: 11.15 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/1.727, allocations: 2.071 MB / 1.695 GB, free: 9.688 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002839/1.73, allocations: 2.259 MB / 1.697 GB, free: 9.184 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.73, allocations: 6.312 kB / 1.697 GB, free: 9.184 MB / 1.311 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004115/1.734, allocations: 2.503 MB / 1.7 GB, free: 8.969 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/1.734, allocations: 10.5 kB / 1.7 GB, free: 8.969 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/1.734, allocations: 13.28 kB / 1.7 GB, free: 8.969 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.964e-05/1.734, allocations: 24.47 kB / 1.7 GB, free: 8.969 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/1.737, allocations: 0.5515 MB / 1.7 GB, free: 8.961 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/1.741, allocations: 4.152 MB / 1.704 GB, free: 4.867 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004363/1.745, allocations: 206.5 kB / 1.705 GB, free: 4.777 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005938/1.746, allocations: 89.14 kB / 1.705 GB, free: 4.777 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004215/1.75, allocations: 1.466 MB / 1.706 GB, free: 4.688 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00315/1.753, allocations: 2.057 MB / 1.708 GB, free: 3.223 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004527/1.758, allocations: 2.236 MB / 1.71 GB, free: 2.727 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.859e-05/1.758, allocations: 3.031 kB / 1.71 GB, free: 2.727 MB / 1.311 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.006307/1.764, allocations: 2.484 MB / 1.713 GB, free: 2.512 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 3.085e-05/1.764, allocations: 10.78 kB / 1.713 GB, free: 2.512 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.141e-05/1.764, allocations: 14.69 kB / 1.713 GB, free: 2.512 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.843e-05/1.764, allocations: 25.56 kB / 1.713 GB, free: 2.508 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002619/1.767, allocations: 474.7 kB / 1.713 GB, free: 2.508 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.688e-05/1.767, allocations: 28.94 kB / 1.713 GB, free: 2.508 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004052/1.771, allocations: 193.1 kB / 1.713 GB, free: 2.434 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00033/1.771, allocations: 91.89 kB / 1.714 GB, free: 2.434 MB / 1.311 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009666/1.772, allocations: 310.7 kB / 1.714 GB, free: 2.246 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.773, allocations: 279.5 kB / 1.714 GB, free: 2.102 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005146/1.779, allocations: 2.104 MB / 1.716 GB, free: 1.973 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003628/1.782, allocations: 1.879 MB / 1.718 GB, free: 1.68 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.782, allocations: 2.391 kB / 1.718 GB, free: 1.68 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/1.785, allocations: 487.2 kB / 1.718 GB, free: 1.52 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008726/1.785, allocations: 43.69 kB / 1.718 GB, free: 1.52 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003063/1.789, allocations: 81.91 kB / 1.719 GB, free: 1.516 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/1.789, allocations: 114.8 kB / 1.719 GB, free: 1.516 MB / 1.311 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006822/1.796, allocations: 2.338 MB / 1.721 GB, free: 1.293 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005404/1.801, allocations: 3.304 MB / 1.724 GB, free: 0.8633 MB / 1.311 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001082/1.802, allocations: 0.8677 MB / 1.725 GB, free: 0.8477 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00246/1.805, allocations: 1.217 MB / 1.726 GB, free: 0.6094 MB / 1.311 GB Notification: Performance of Backend: time 7.52e-07/1.805, allocations: 0 / 1.726 GB, free: 0.6094 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.009883/1.815, allocations: 3.375 MB / 1.73 GB, free: 15.66 MB / 1.326 GB Notification: Performance of SimCode: time 0.0171/1.832, allocations: 7.462 MB / 1.737 GB, free: 11.68 MB / 1.326 GB Notification: Performance of Templates: time 0.116/1.948, allocations: 75.89 MB / 1.811 GB, free: 13.92 MB / 1.389 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_TraceSubstancesFlowSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.187090808998619]