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.001668/0.001668, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002306/0.002306, allocations: 211.4 kB / 22.99 MB, free: 4.984 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.581/1.581, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.364/3.364, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002117/0.002117, allocations: 69 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4693, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2437/0.713, allocations: 165.5 MB / 1.489 GB, free: 10.87 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0183/0.7313, allocations: 11.98 MB / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001404/0.7327, allocations: 39.69 kB / 1.5 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.7342, allocations: 409.3 kB / 1.501 GB, free: 14.41 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002768/0.737, allocations: 0.9566 MB / 1.502 GB, free: 13.45 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.7394, allocations: 0.7254 MB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002691/0.742, allocations: 1.532 MB / 1.504 GB, free: 11.2 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009149/0.743, allocations: 0.4991 MB / 1.504 GB, free: 10.68 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004977/0.7479, allocations: 1.872 MB / 1.506 GB, free: 8.797 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/0.7496, allocations: 0.531 MB / 1.507 GB, free: 8.27 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.7497, allocations: 56 kB / 1.507 GB, free: 8.215 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.7513, allocations: 0.7327 MB / 1.508 GB, free: 7.48 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004501/0.7517, allocations: 279.1 kB / 1.508 GB, free: 7.207 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0004363/0.7522, allocations: 314.5 kB / 1.508 GB, free: 6.898 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.7542, allocations: 1.164 MB / 1.509 GB, free: 5.73 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.7542, allocations: 0 / 1.509 GB, free: 5.73 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7542, allocations: 0 / 1.509 GB, free: 5.73 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.7542, allocations: 4 kB / 1.509 GB, free: 5.727 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.001912/0.7561, allocations: 1.006 MB / 1.51 GB, free: 4.684 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.7561, allocations: 8.031 kB / 1.51 GB, free: 4.676 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.7572, allocations: 199.3 kB / 1.51 GB, free: 4.48 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.7583, allocations: 499.8 kB / 1.511 GB, free: 3.969 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.961e-05/0.7583, allocations: 41.31 kB / 1.511 GB, free: 3.926 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-05/0.7584, allocations: 60 kB / 1.511 GB, free: 3.867 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.7598, allocations: 0.7962 MB / 1.512 GB, free: 2.957 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.7598, allocations: 3.938 kB / 1.512 GB, free: 2.953 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.994e-05/0.7599, allocations: 31.88 kB / 1.512 GB, free: 2.922 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.134e-05/0.7599, allocations: 25 kB / 1.512 GB, free: 2.898 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009746/0.7609, allocations: 463.3 kB / 1.512 GB, free: 2.445 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.004347/0.7652, allocations: 3.855 MB / 1.516 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.7654, allocations: 102.4 kB / 1.516 GB, free: 14.29 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/0.7656, allocations: 71.5 kB / 1.516 GB, free: 14.21 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.7657, allocations: 23.92 kB / 1.516 GB, free: 14.19 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/0.7658, allocations: 42.5 kB / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 2.464e-06/0.7658, allocations: 0 / 1.516 GB, free: 14.14 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006424/0.7664, allocations: 201.2 kB / 1.517 GB, free: 13.93 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.7665, allocations: 136.5 kB / 1.517 GB, free: 13.77 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/0.7675, allocations: 0.585 MB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.671e-05/0.7675, allocations: 33.7 kB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.7679, allocations: 435.8 kB / 1.518 GB, free: 12.7 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.933e-05/0.7679, allocations: 39.69 kB / 1.518 GB, free: 12.66 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.7681, allocations: 93.97 kB / 1.518 GB, free: 12.57 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.7683, allocations: 362.7 kB / 1.518 GB, free: 12.2 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.7686, allocations: 116.7 kB / 1.518 GB, free: 12.09 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.7693, allocations: 0.5039 MB / 1.519 GB, free: 11.43 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.7699, allocations: 437.5 kB / 1.519 GB, free: 10.9 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.7699, allocations: 3.938 kB / 1.519 GB, free: 10.89 MB / 1.217 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009816/0.7709, allocations: 484.6 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7709, allocations: 8.844 kB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.771, allocations: 8 kB / 1.52 GB, free: 10.4 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/0.771, allocations: 16.12 kB / 1.52 GB, free: 10.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003482/0.7713, allocations: 99.83 kB / 1.52 GB, free: 10.29 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/0.7713, allocations: 15.92 kB / 1.52 GB, free: 10.27 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005634/0.7719, allocations: 83.62 kB / 1.52 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.656e-05/0.772, allocations: 24 kB / 1.52 GB, free: 10.16 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.0003238/0.7723, allocations: 237.5 kB / 1.52 GB, free: 9.922 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.7724, allocations: 55.62 kB / 1.52 GB, free: 9.867 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.741e-05/0.7725, allocations: 56.12 kB / 1.52 GB, free: 9.812 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.7725, allocations: 3.938 kB / 1.52 GB, free: 9.809 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.7725, allocations: 4 kB / 1.52 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.7725, allocations: 0 / 1.52 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.774, allocations: 0.9953 MB / 1.521 GB, free: 8.738 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.774, allocations: 7.938 kB / 1.521 GB, free: 8.73 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.095e-05/0.7741, allocations: 19.94 kB / 1.521 GB, free: 8.711 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.7741, allocations: 0 / 1.521 GB, free: 8.711 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.539e-05/0.7742, allocations: 8 kB / 1.521 GB, free: 8.703 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.7742, allocations: 4 kB / 1.521 GB, free: 8.699 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.7742, allocations: 8.25 kB / 1.521 GB, free: 8.691 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.7745, allocations: 244.4 kB / 1.521 GB, free: 8.406 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001819/0.7747, allocations: 71.58 kB / 1.522 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.7747, allocations: 0 / 1.522 GB, free: 8.336 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.775, allocations: 20.45 kB / 1.522 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.775, allocations: 11.98 kB / 1.522 GB, free: 8.305 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.775, allocations: 7.938 kB / 1.522 GB, free: 8.297 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006364/0.7756, allocations: 406.8 kB / 1.522 GB, free: 7.902 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.7756, allocations: 0 / 1.522 GB, free: 7.902 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0007714/0.7764, allocations: 187.4 kB / 1.522 GB, free: 7.719 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.0005213/0.7769, allocations: 185.8 kB / 1.522 GB, free: 7.539 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.7775, allocations: 237.1 kB / 1.523 GB, free: 7.309 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.7775, allocations: 4.312 kB / 1.523 GB, free: 7.305 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 6.983e-05/0.7776, allocations: 39.92 kB / 1.523 GB, free: 7.266 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009856/0.7786, allocations: 207.7 kB / 1.523 GB, free: 7.07 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.7805, allocations: 1.045 MB / 1.524 GB, free: 5.965 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.7809, allocations: 339.8 kB / 1.524 GB, free: 5.605 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.7812, allocations: 108.5 kB / 1.524 GB, free: 5.5 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.39e-05/0.7813, allocations: 39.42 kB / 1.524 GB, free: 5.461 MB / 1.217 GB Notification: Performance of SimCode: time 4.41e-07/0.7813, allocations: 0 / 1.524 GB, free: 5.461 MB / 1.217 GB Notification: Performance of Templates: time 0.01784/0.7991, allocations: 8.78 MB / 1.533 GB, free: 12.91 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 -s cvode -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: 10.293109113001265]