Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001918/0.001918, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002562/0.002562, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.517/1.517, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.282/3.282, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.877e-05/3.063e-05, allocations: 3.188 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.2579/0.258, allocations: 165.3 MB / 1.039 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.2771, allocations: 11.92 MB / 1.051 GB, free: 4.59 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001338/0.2785, allocations: 39.69 kB / 1.051 GB, free: 4.551 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.2799, allocations: 413.2 kB / 1.051 GB, free: 4.145 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002748/0.2826, allocations: 0.983 MB / 1.052 GB, free: 3.156 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.2848, allocations: 0.7479 MB / 1.053 GB, free: 2.406 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002336/0.2872, allocations: 1.507 MB / 1.054 GB, free: 0.8945 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008277/0.288, allocations: 492.8 kB / 1.055 GB, free: 420 kB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5757/0.8637, allocations: 2.033 MB / 1.057 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.8654, allocations: 470 kB / 1.057 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.8655, allocations: 54.28 kB / 1.057 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.867, allocations: 0.7266 MB / 1.058 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002972/0.8673, allocations: 302.2 kB / 1.058 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0003481/0.8676, allocations: 256.6 kB / 1.059 GB, free: 46.98 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001616/0.8692, allocations: 1.188 MB / 1.06 GB, free: 46.95 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.8692, allocations: 1.875 kB / 1.06 GB, free: 46.95 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8692, allocations: 0 / 1.06 GB, free: 46.95 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.8692, allocations: 1.875 kB / 1.06 GB, free: 46.95 MB / 1.01 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.001266/0.8705, allocations: 0.9874 MB / 1.061 GB, free: 46.38 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.8705, allocations: 9.672 kB / 1.061 GB, free: 46.38 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.8716, allocations: 250.6 kB / 1.061 GB, free: 46.33 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/0.8723, allocations: 0.5047 MB / 1.061 GB, free: 46.12 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.8724, allocations: 44 kB / 1.061 GB, free: 46.12 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-05/0.8724, allocations: 58.44 kB / 1.061 GB, free: 46.12 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.8735, allocations: 0.8006 MB / 1.062 GB, free: 45.78 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.8735, allocations: 3.688 kB / 1.062 GB, free: 45.78 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.226e-05/0.8736, allocations: 26.64 kB / 1.062 GB, free: 45.78 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.8736, allocations: 27.66 kB / 1.062 GB, free: 45.78 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008105/0.8744, allocations: 469.6 kB / 1.063 GB, free: 45.78 MB / 1.01 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.002806/0.8772, allocations: 3.862 MB / 1.067 GB, free: 42.81 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.8773, allocations: 105.7 kB / 1.067 GB, free: 42.71 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.8774, allocations: 65.36 kB / 1.067 GB, free: 42.68 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.8776, allocations: 22.39 kB / 1.067 GB, free: 42.68 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.8776, allocations: 42.09 kB / 1.067 GB, free: 42.64 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.644e-06/0.8776, allocations: 0 / 1.067 GB, free: 42.64 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.000522/0.8781, allocations: 220.9 kB / 1.067 GB, free: 42.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.8782, allocations: 132 kB / 1.067 GB, free: 42.42 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.8788, allocations: 0.5822 MB / 1.068 GB, free: 42.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.8788, allocations: 30.3 kB / 1.068 GB, free: 42.25 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.879, allocations: 431 kB / 1.068 GB, free: 42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-05/0.8791, allocations: 43.3 kB / 1.068 GB, free: 41.98 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001199/0.8792, allocations: 88.34 kB / 1.068 GB, free: 41.96 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.8793, allocations: 361.8 kB / 1.069 GB, free: 41.64 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.8795, allocations: 120.2 kB / 1.069 GB, free: 41.64 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.8799, allocations: 0.5024 MB / 1.069 GB, free: 41.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.8804, allocations: 434.5 kB / 1.07 GB, free: 40.89 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.8804, allocations: 2.812 kB / 1.07 GB, free: 40.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008269/0.8812, allocations: 0.4939 MB / 1.07 GB, free: 40.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.8812, allocations: 9.219 kB / 1.07 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.8812, allocations: 9 kB / 1.07 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.8813, allocations: 14.31 kB / 1.07 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.8816, allocations: 97.22 kB / 1.07 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.8816, allocations: 15.44 kB / 1.07 GB, free: 40.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.8822, allocations: 98.62 kB / 1.07 GB, free: 40.8 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.8823, allocations: 26.92 kB / 1.07 GB, free: 40.8 MB / 1.01 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.0002272/0.8825, allocations: 230.9 kB / 1.071 GB, free: 40.68 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.8826, allocations: 57.58 kB / 1.071 GB, free: 40.66 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.479e-05/0.8827, allocations: 51.38 kB / 1.071 GB, free: 40.65 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.8827, allocations: 6.844 kB / 1.071 GB, free: 40.64 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.8827, allocations: 0.9062 kB / 1.071 GB, free: 40.64 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8827, allocations: 8.172 kB / 1.071 GB, free: 40.64 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.8837, allocations: 0.9925 MB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.8837, allocations: 4.328 kB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.949e-05/0.8838, allocations: 21.34 kB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.8838, allocations: 5.688 kB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.8838, allocations: 5.031 kB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.8838, allocations: 6.188 kB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.8838, allocations: 4.531 kB / 1.072 GB, free: 40.03 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.884, allocations: 238.7 kB / 1.072 GB, free: 39.86 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.8842, allocations: 71.45 kB / 1.072 GB, free: 39.84 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.996e-05/0.8842, allocations: 2.906 kB / 1.072 GB, free: 39.84 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.8845, allocations: 30.23 kB / 1.072 GB, free: 39.84 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.939e-05/0.8845, allocations: 17.03 kB / 1.072 GB, free: 39.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8845, allocations: 8.812 kB / 1.072 GB, free: 39.83 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004742/0.885, allocations: 403.3 kB / 1.072 GB, free: 39.75 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.885, allocations: 1.094 kB / 1.072 GB, free: 39.75 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006552/0.8857, allocations: 186.2 kB / 1.073 GB, free: 39.71 MB / 1.01 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.0004725/0.8861, allocations: 189.7 kB / 1.073 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.8866, allocations: 239.2 kB / 1.073 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.8866, allocations: 2.016 kB / 1.073 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 5.779e-05/0.8867, allocations: 46.36 kB / 1.073 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009086/0.8876, allocations: 201.2 kB / 1.073 GB, free: 39.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.889, allocations: 1.017 MB / 1.074 GB, free: 39.06 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002779/0.8892, allocations: 340.3 kB / 1.075 GB, free: 38.97 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003297/0.8896, allocations: 112 kB / 1.075 GB, free: 38.96 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.8896, allocations: 35.94 kB / 1.075 GB, free: 38.95 MB / 1.01 GB Notification: Performance of SimCode: time 4.01e-07/0.8896, allocations: 0 / 1.075 GB, free: 38.95 MB / 1.01 GB Notification: Performance of Templates: time 0.01369/0.9033, allocations: 7.601 MB / 1.082 GB, free: 38.4 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.330210041021928]