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.001161/0.001161, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001828/0.002989, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001157/0.001157, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001635/0.002792, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.043/1.043, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09736/1.14, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.817/1.817, allocations: 378.4 MB / 0.6079 GB, free: 7.707 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.525/2.342, allocations: 123.3 MB / 0.7283 GB, free: 5.73 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 2.454e-06/2.454e-06, allocations: 3.984 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.612e-05/1.857e-05, allocations: 6.25 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1383/0.1383, allocations: 149.3 MB / 0.8755 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004995/0.1433, allocations: 3.267 MB / 0.8787 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006461/0.1439, allocations: 39.69 kB / 0.8787 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006058/0.1445, allocations: 234.2 kB / 0.8789 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1457, allocations: 0.7419 MB / 0.8797 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.147, allocations: 0.6917 MB / 0.8803 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.1482, allocations: 1.473 MB / 0.8818 GB, free: 8.281 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009073/0.1491, allocations: 0.5216 MB / 0.8823 GB, free: 7.75 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.1516, allocations: 0.912 MB / 0.8832 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005927/0.1522, allocations: 410.7 kB / 0.8836 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.607e-05/0.1523, allocations: 52 kB / 0.8836 GB, free: 6.426 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.1533, allocations: 0.5222 MB / 0.8841 GB, free: 5.902 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002677/0.1536, allocations: 267.2 kB / 0.8844 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.1539, allocations: 219.5 kB / 0.8846 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.155, allocations: 0.7748 MB / 0.8854 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.19e-05/0.155, allocations: 0 / 0.8854 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.004e-06/0.155, allocations: 0 / 0.8854 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.1551, allocations: 3.938 kB / 0.8854 GB, free: 4.645 MB / 0.8542 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.001371/0.1564, allocations: 1.126 MB / 0.8865 GB, free: 3.492 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1565, allocations: 12.03 kB / 0.8865 GB, free: 3.48 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007346/0.1572, allocations: 285.6 kB / 0.8867 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.1579, allocations: 447.9 kB / 0.8872 GB, free: 2.719 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.1579, allocations: 49.38 kB / 0.8872 GB, free: 2.672 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.471e-05/0.158, allocations: 63.94 kB / 0.8873 GB, free: 2.609 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.1587, allocations: 0.6114 MB / 0.8879 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.1587, allocations: 3.938 kB / 0.8879 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.257e-05/0.1588, allocations: 28 kB / 0.8879 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.682e-05/0.1588, allocations: 28.98 kB / 0.8879 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002856/0.1591, allocations: 202.5 kB / 0.8881 GB, free: 1.613 MB / 0.8542 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.002344/0.1615, allocations: 3.669 MB / 0.8917 GB, free: 13.78 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1616, allocations: 257.9 kB / 0.892 GB, free: 13.49 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.1616, allocations: 48.09 kB / 0.892 GB, free: 13.43 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 8.314e-05/0.1617, allocations: 16 kB / 0.892 GB, free: 13.41 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.1617, allocations: 42.55 kB / 0.8921 GB, free: 13.36 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=9): time 2.465e-06/0.1617, allocations: 0 / 0.8921 GB, free: 13.36 MB / 0.8699 GB Notification: Performance of matching and sorting (n=9): time 0.0002548/0.162, allocations: 113.4 kB / 0.8922 GB, free: 13.25 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.162, allocations: 128.5 kB / 0.8923 GB, free: 13.09 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004182/0.1624, allocations: 0.5027 MB / 0.8928 GB, free: 12.57 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.1624, allocations: 25.7 kB / 0.8928 GB, free: 12.54 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1626, allocations: 381 kB / 0.8932 GB, free: 12.16 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 1.996e-05/0.1626, allocations: 39.73 kB / 0.8932 GB, free: 12.12 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.645e-05/0.1627, allocations: 85.94 kB / 0.8933 GB, free: 12.04 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.1628, allocations: 362.7 kB / 0.8936 GB, free: 11.67 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.669e-05/0.1628, allocations: 31.56 kB / 0.8937 GB, free: 11.64 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.163, allocations: 397.4 kB / 0.894 GB, free: 11.11 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.1632, allocations: 360 kB / 0.8944 GB, free: 10.64 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1632, allocations: 0 / 0.8944 GB, free: 10.64 MB / 0.8699 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002717/0.1635, allocations: 292.3 kB / 0.8947 GB, free: 10.35 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.1635, allocations: 8 kB / 0.8947 GB, free: 10.34 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.1635, allocations: 8.125 kB / 0.8947 GB, free: 10.33 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1636, allocations: 16.66 kB / 0.8947 GB, free: 10.32 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001861/0.1638, allocations: 107.8 kB / 0.8948 GB, free: 10.21 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1638, allocations: 15.92 kB / 0.8948 GB, free: 10.2 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.164, allocations: 59.72 kB / 0.8949 GB, free: 10.14 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.164, allocations: 23.98 kB / 0.8949 GB, free: 10.11 MB / 0.8699 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 (45): * Single equations (assignments): 45 * 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.0001123/0.1641, allocations: 144.4 kB / 0.895 GB, free: 9.961 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.1642, allocations: 39.95 kB / 0.8951 GB, free: 9.922 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.1642, allocations: 48.12 kB / 0.8951 GB, free: 9.875 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1642, allocations: 11.88 kB / 0.8951 GB, free: 9.863 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1642, allocations: 4 kB / 0.8951 GB, free: 9.859 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1642, allocations: 0 / 0.8951 GB, free: 9.859 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.1649, allocations: 0.8312 MB / 0.8959 GB, free: 8.961 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1649, allocations: 0 / 0.8959 GB, free: 8.961 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.1649, allocations: 16.28 kB / 0.896 GB, free: 8.945 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 7.239e-05/0.165, allocations: 71.53 kB / 0.896 GB, free: 8.875 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.165, allocations: 0 / 0.896 GB, free: 8.875 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.165, allocations: 4 kB / 0.896 GB, free: 8.871 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.165, allocations: 7.938 kB / 0.896 GB, free: 8.863 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.165, allocations: 0 / 0.896 GB, free: 8.863 MB / 0.8699 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.1652, allocations: 192.1 kB / 0.8962 GB, free: 8.621 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.1652, allocations: 4 kB / 0.8962 GB, free: 8.617 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.1653, allocations: 11.98 kB / 0.8962 GB, free: 8.605 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.1653, allocations: 19.92 kB / 0.8963 GB, free: 8.586 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-06/0.1653, allocations: 4 kB / 0.8963 GB, free: 8.582 MB / 0.8699 GB Notification: Performance of sorting global known variables: time 0.0001601/0.1655, allocations: 212.3 kB / 0.8965 GB, free: 8.375 MB / 0.8699 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1655, allocations: 0 / 0.8965 GB, free: 8.375 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.0003951/0.1659, allocations: 183.5 kB / 0.8966 GB, free: 8.195 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (9): * Single equations (assignments): 9 * 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.000395/0.1663, allocations: 163.3 kB / 0.8968 GB, free: 8.043 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.1664, allocations: 147.1 kB / 0.8969 GB, free: 7.898 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 1.82e-05/0.1665, allocations: 8.969 kB / 0.8969 GB, free: 7.887 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 4.047e-05/0.1665, allocations: 44.77 kB / 0.897 GB, free: 7.84 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009751/0.1675, allocations: 1.657 MB / 0.8986 GB, free: 5.859 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.1708, allocations: 1.021 MB / 0.8996 GB, free: 4.777 MB / 0.8699 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.1709, allocations: 157.2 kB / 0.8997 GB, free: 4.602 MB / 0.8699 GB Notification: Performance of simCode: alias equations: time 0.0002272/0.1711, allocations: 68.53 kB / 0.8998 GB, free: 4.531 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.1714, allocations: 187.1 kB / 0.9 GB, free: 4.348 MB / 0.8699 GB Notification: Performance of SimCode: time 9.72e-07/0.1714, allocations: 4 kB / 0.9 GB, free: 4.344 MB / 0.8699 GB Notification: Performance of Templates: time 0.01222/0.1836, allocations: 8.37 MB / 0.9082 GB, free: 12.23 MB / 0.8855 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.153072960674763]