Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.001416/0.001416, allocations: 102.2 kB / 16.45 MB, free: 6.504 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.001647/0.001647, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.316/3.316, allocations: 0.49 GB / 0.7916 GB, free: 33.23 MB / 0.6231 GB " [Timeout remaining time 176] 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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|const.k|cheEquTra2.y|cheEquTra1.y",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [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.002226/0.002226, allocations: 72.91 kB / 1.149 GB, free: 26.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4229, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2354/0.6583, allocations: 190.7 MB / 1.508 GB, free: 3.352 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01915/0.6774, allocations: 13.12 MB / 1.52 GB, free: 6.188 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/0.6789, allocations: 39.69 kB / 1.52 GB, free: 6.148 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.6803, allocations: 421.2 kB / 1.521 GB, free: 5.734 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.6831, allocations: 0.9566 MB / 1.522 GB, free: 4.773 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.6852, allocations: 0.7078 MB / 1.522 GB, free: 4.07 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002321/0.6875, allocations: 1.487 MB / 1.524 GB, free: 2.582 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008919/0.6884, allocations: 0.5492 MB / 1.524 GB, free: 2.02 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004614/0.6931, allocations: 1.892 MB / 1.526 GB, free: 124 kB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.6947, allocations: 0.5277 MB / 1.527 GB, free: 15.59 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.6948, allocations: 52 kB / 1.527 GB, free: 15.54 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.6967, allocations: 0.8925 MB / 1.528 GB, free: 14.65 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0003538/0.697, allocations: 287.1 kB / 1.528 GB, free: 14.37 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00051/0.6975, allocations: 390 kB / 1.528 GB, free: 13.99 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.6996, allocations: 1.179 MB / 1.529 GB, free: 12.8 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.6996, allocations: 0 / 1.529 GB, free: 12.8 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6996, allocations: 0 / 1.529 GB, free: 12.8 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.973e-05/0.6997, allocations: 0 / 1.529 GB, free: 12.8 MB / 1.232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001947/0.7016, allocations: 1.085 MB / 1.531 GB, free: 11.66 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.7017, allocations: 15.97 kB / 1.531 GB, free: 11.65 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.7027, allocations: 187.3 kB / 1.531 GB, free: 11.46 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.7036, allocations: 0.5641 MB / 1.531 GB, free: 10.86 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.22e-05/0.7037, allocations: 45.31 kB / 1.531 GB, free: 10.82 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7038, allocations: 56 kB / 1.531 GB, free: 10.77 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/0.7051, allocations: 0.775 MB / 1.532 GB, free: 9.875 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.7052, allocations: 0 / 1.532 GB, free: 9.875 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.977e-05/0.7052, allocations: 39.88 kB / 1.532 GB, free: 9.836 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.841e-05/0.7053, allocations: 21 kB / 1.532 GB, free: 9.816 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009687/0.7062, allocations: 463.2 kB / 1.533 GB, free: 9.363 MB / 1.232 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.004916/0.7111, allocations: 4.459 MB / 1.537 GB, free: 4.656 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001777/0.7113, allocations: 110.4 kB / 1.537 GB, free: 4.512 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.7114, allocations: 71.44 kB / 1.537 GB, free: 4.43 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/0.7116, allocations: 97.09 kB / 1.537 GB, free: 4.316 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.7117, allocations: 34.56 kB / 1.537 GB, free: 4.273 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.974e-06/0.7117, allocations: 4 kB / 1.537 GB, free: 4.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0007731/0.7125, allocations: 245 kB / 1.538 GB, free: 4.023 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.491e-05/0.7126, allocations: 136.8 kB / 1.538 GB, free: 3.859 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.7139, allocations: 0.8369 MB / 1.538 GB, free: 3.012 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.7139, allocations: 33.7 kB / 1.539 GB, free: 2.973 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003749/0.7143, allocations: 407.7 kB / 1.539 GB, free: 2.57 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 4.343e-05/0.7143, allocations: 43.67 kB / 1.539 GB, free: 2.527 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.7145, allocations: 97.97 kB / 1.539 GB, free: 2.426 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.7148, allocations: 321.9 kB / 1.539 GB, free: 2.105 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.7151, allocations: 116.6 kB / 1.539 GB, free: 1.992 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000592/0.7156, allocations: 358 kB / 1.54 GB, free: 1.527 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.7163, allocations: 433.5 kB / 1.54 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.7163, allocations: 0 / 1.54 GB, free: 0.9961 MB / 1.232 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001084/0.7174, allocations: 0.5055 MB / 1.541 GB, free: 496 kB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.7174, allocations: 8 kB / 1.541 GB, free: 488 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7174, allocations: 8.094 kB / 1.541 GB, free: 480 kB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.7175, allocations: 19.98 kB / 1.541 GB, free: 460 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/0.7178, allocations: 91.83 kB / 1.541 GB, free: 368 kB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.7178, allocations: 11.94 kB / 1.541 GB, free: 356 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.7186, allocations: 119.3 kB / 1.541 GB, free: 236 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/0.7186, allocations: 27.94 kB / 1.541 GB, free: 208 kB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0003366/0.7189, allocations: 225.6 kB / 1.541 GB, free: 15.97 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.7191, allocations: 83.47 kB / 1.541 GB, free: 15.89 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.7192, allocations: 74.17 kB / 1.541 GB, free: 15.81 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.7192, allocations: 7.938 kB / 1.541 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7193, allocations: 3.938 kB / 1.541 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.7193, allocations: 4 kB / 1.541 GB, free: 15.8 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.7208, allocations: 1.117 MB / 1.542 GB, free: 14.59 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.7208, allocations: 4 kB / 1.542 GB, free: 14.59 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.7208, allocations: 20.06 kB / 1.542 GB, free: 14.57 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7209, allocations: 4 kB / 1.542 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.7209, allocations: 4 kB / 1.542 GB, free: 14.56 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.7209, allocations: 7.984 kB / 1.542 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7209, allocations: 3.984 kB / 1.542 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.7212, allocations: 272.5 kB / 1.543 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.7214, allocations: 176.5 kB / 1.543 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.699e-05/0.7215, allocations: 7.984 kB / 1.543 GB, free: 14.04 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003267/0.7219, allocations: 15.98 kB / 1.543 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.7219, allocations: 11.94 kB / 1.543 GB, free: 14.01 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.7219, allocations: 8 kB / 1.543 GB, free: 14 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0009539/0.7229, allocations: 0.5888 MB / 1.544 GB, free: 13.41 MB / 1.248 GB Notification: Performance of sort global known variables: time 7e-08/0.7229, allocations: 0 / 1.544 GB, free: 13.41 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0006926/0.7236, allocations: 159.8 kB / 1.544 GB, free: 13.26 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0004856/0.724, allocations: 184.5 kB / 1.544 GB, free: 13.08 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.7246, allocations: 233.2 kB / 1.544 GB, free: 12.86 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.7246, allocations: 4 kB / 1.544 GB, free: 12.85 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 7.832e-05/0.7247, allocations: 51.84 kB / 1.544 GB, free: 12.8 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.7263, allocations: 373.1 kB / 1.544 GB, free: 12.45 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.7282, allocations: 1.073 MB / 1.546 GB, free: 11.31 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.7288, allocations: 0.937 MB / 1.546 GB, free: 10.35 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004419/0.7292, allocations: 146.1 kB / 1.547 GB, free: 10.2 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.7293, allocations: 47.42 kB / 1.547 GB, free: 10.16 MB / 1.248 GB Notification: Performance of SimCode: time 4.31e-07/0.7293, allocations: 0 / 1.547 GB, free: 10.16 MB / 1.248 GB Notification: Performance of Templates: time 0.0251/0.7544, allocations: 11.9 MB / 1.558 GB, free: 14.44 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: 9.708215572871268]