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.001346/0.001346, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001493/0.001493, allocations: 220 kB / 23.04 MB, free: 4.844 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.106/3.106, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.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.002003/0.002003, allocations: 70.61 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.204/0.5394, allocations: 165.5 MB / 1.489 GB, free: 10.84 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.5575, allocations: 11.99 MB / 1.5 GB, free: 14.82 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.5586, allocations: 39.69 kB / 1.501 GB, free: 14.79 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.5599, allocations: 409.3 kB / 1.501 GB, free: 14.38 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.5624, allocations: 0.9566 MB / 1.502 GB, free: 13.42 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001949/0.5643, allocations: 0.721 MB / 1.503 GB, free: 12.71 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002113/0.5664, allocations: 1.52 MB / 1.504 GB, free: 11.18 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008427/0.5673, allocations: 495.1 kB / 1.505 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.5715, allocations: 1.876 MB / 1.506 GB, free: 8.793 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.5731, allocations: 0.4899 MB / 1.507 GB, free: 8.305 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.5733, allocations: 52 kB / 1.507 GB, free: 8.254 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.5748, allocations: 0.7249 MB / 1.508 GB, free: 7.527 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003446/0.5751, allocations: 275.1 kB / 1.508 GB, free: 7.258 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004382/0.5756, allocations: 318.5 kB / 1.508 GB, free: 6.945 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001872/0.5775, allocations: 1.164 MB / 1.509 GB, free: 5.777 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5775, allocations: 3.938 kB / 1.509 GB, free: 5.773 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5775, allocations: 0 / 1.509 GB, free: 5.773 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.5775, allocations: 3.938 kB / 1.509 GB, free: 5.77 MB / 1.201 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.001573/0.579, allocations: 1.006 MB / 1.51 GB, free: 4.727 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5791, allocations: 8.031 kB / 1.51 GB, free: 4.719 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000994/0.5801, allocations: 195.3 kB / 1.51 GB, free: 4.527 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000948/0.581, allocations: 499.8 kB / 1.511 GB, free: 4.02 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.5811, allocations: 45.31 kB / 1.511 GB, free: 3.973 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.5812, allocations: 56 kB / 1.511 GB, free: 3.918 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.5824, allocations: 0.7962 MB / 1.512 GB, free: 3.008 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.5824, allocations: 7.938 kB / 1.512 GB, free: 3 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.024e-05/0.5825, allocations: 31.94 kB / 1.512 GB, free: 2.969 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.831e-05/0.5825, allocations: 24.98 kB / 1.512 GB, free: 2.945 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.5836, allocations: 459.3 kB / 1.512 GB, free: 2.496 MB / 1.201 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.004118/0.5877, allocations: 3.859 MB / 1.516 GB, free: 14.48 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.5879, allocations: 102.4 kB / 1.516 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.588, allocations: 63.59 kB / 1.516 GB, free: 14.27 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.5881, allocations: 23.97 kB / 1.516 GB, free: 14.24 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.5882, allocations: 42.48 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 2.084e-06/0.5882, allocations: 4 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0005742/0.5887, allocations: 201.2 kB / 1.517 GB, free: 13.98 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.657e-05/0.5888, allocations: 132.5 kB / 1.517 GB, free: 13.82 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/0.5897, allocations: 0.5848 MB / 1.517 GB, free: 13.23 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.067e-05/0.5897, allocations: 29.7 kB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.5901, allocations: 439.8 kB / 1.518 GB, free: 12.76 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.5901, allocations: 43.92 kB / 1.518 GB, free: 12.71 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.5903, allocations: 93.97 kB / 1.518 GB, free: 12.62 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.5904, allocations: 362.7 kB / 1.518 GB, free: 12.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002721/0.5907, allocations: 104.7 kB / 1.518 GB, free: 12.15 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005931/0.5913, allocations: 0.5156 MB / 1.519 GB, free: 11.48 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006117/0.5919, allocations: 441.6 kB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.5919, allocations: 0 / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009755/0.5929, allocations: 485 kB / 1.52 GB, free: 10.46 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.5929, allocations: 8 kB / 1.52 GB, free: 10.46 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.5929, allocations: 8 kB / 1.52 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.593, allocations: 12 kB / 1.52 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.5933, allocations: 99.81 kB / 1.52 GB, free: 10.34 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/0.5933, allocations: 16.31 kB / 1.52 GB, free: 10.32 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.5939, allocations: 83.62 kB / 1.52 GB, free: 10.24 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.5939, allocations: 27.98 kB / 1.52 GB, free: 10.21 MB / 1.217 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.0004482/0.5944, allocations: 233.5 kB / 1.52 GB, free: 9.977 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.5945, allocations: 63.62 kB / 1.52 GB, free: 9.914 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.5946, allocations: 52.12 kB / 1.52 GB, free: 9.863 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5946, allocations: 3.938 kB / 1.52 GB, free: 9.859 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5946, allocations: 0 / 1.52 GB, free: 9.859 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5946, allocations: 7.984 kB / 1.52 GB, free: 9.852 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.5963, allocations: 0.9839 MB / 1.521 GB, free: 8.797 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5963, allocations: 8.031 kB / 1.521 GB, free: 8.789 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.5964, allocations: 23.86 kB / 1.521 GB, free: 8.766 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.5964, allocations: 4 kB / 1.521 GB, free: 8.762 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.5964, allocations: 8 kB / 1.521 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.5964, allocations: 4 kB / 1.521 GB, free: 8.75 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.5964, allocations: 480 / 1.521 GB, free: 8.75 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.5969, allocations: 240.4 kB / 1.521 GB, free: 8.469 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000235/0.5971, allocations: 71.56 kB / 1.522 GB, free: 8.398 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.419e-05/0.5972, allocations: 11.98 kB / 1.522 GB, free: 8.387 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.5975, allocations: 19.98 kB / 1.522 GB, free: 8.367 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.5976, allocations: 11.97 kB / 1.522 GB, free: 8.355 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.5976, allocations: 12 kB / 1.522 GB, free: 8.344 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008344/0.5984, allocations: 398.8 kB / 1.522 GB, free: 7.957 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5984, allocations: 4 kB / 1.522 GB, free: 7.953 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001094/0.5995, allocations: 187.4 kB / 1.522 GB, free: 7.77 MB / 1.217 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.0005624/0.6001, allocations: 180.7 kB / 1.522 GB, free: 7.594 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007706/0.6009, allocations: 233 kB / 1.523 GB, free: 7.367 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6009, allocations: 0 / 1.523 GB, free: 7.367 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.601, allocations: 52.72 kB / 1.523 GB, free: 7.316 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6024, allocations: 210.3 kB / 1.523 GB, free: 7.117 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.6049, allocations: 1.094 MB / 1.524 GB, free: 5.957 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005009/0.6054, allocations: 343.8 kB / 1.524 GB, free: 5.594 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/0.6055, allocations: 39.42 kB / 1.524 GB, free: 5.555 MB / 1.217 GB Notification: Performance of SimCode: time 1.333e-06/0.6055, allocations: 0 / 1.524 GB, free: 5.555 MB / 1.217 GB Notification: Performance of Templates: time 0.02009/0.6256, allocations: 8.79 MB / 1.533 GB, free: 12.84 MB / 1.232 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/jenkins1/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: 12.58801614982076]