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.001319/0.001319, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001905/0.001905, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9664/0.9664, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 2.398/2.398, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.683e-06/1.683e-06, allocations: 0 / 0.8386 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.474e-05, allocations: 4.984 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1379/0.138, allocations: 148.8 MB / 0.9839 GB, free: 8.754 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005242/0.1432, allocations: 3.224 MB / 0.9871 GB, free: 5.52 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000746/0.1439, allocations: 39.69 kB / 0.9871 GB, free: 5.48 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.1448, allocations: 230.3 kB / 0.9873 GB, free: 5.254 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.1461, allocations: 0.7457 MB / 0.9881 GB, free: 4.504 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.1473, allocations: 0.7014 MB / 0.9887 GB, free: 3.801 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001529/0.1489, allocations: 1.469 MB / 0.9902 GB, free: 2.328 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000627/0.1495, allocations: 482.8 kB / 0.9906 GB, free: 1.852 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00145/0.1509, allocations: 0.8719 MB / 0.9915 GB, free: 1.012 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.1515, allocations: 410.6 kB / 0.9919 GB, free: 0.6094 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 7.232e-05/0.1515, allocations: 52 kB / 0.9919 GB, free: 0.5586 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006969/0.1522, allocations: 0.5105 MB / 0.9924 GB, free: 48 kB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.1525, allocations: 299.1 kB / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.1527, allocations: 259.4 kB / 0.993 GB, free: 15.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0009355/0.1537, allocations: 0.8604 MB / 0.9938 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1537, allocations: 0 / 0.9938 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1537, allocations: 0 / 0.9938 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.1537, allocations: 0 / 0.9938 GB, free: 14.64 MB / 0.9636 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.00095/0.1546, allocations: 0.9537 MB / 0.9947 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.1547, allocations: 12.62 kB / 0.9947 GB, free: 13.64 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005968/0.1553, allocations: 196.6 kB / 0.9949 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006578/0.1559, allocations: 443.8 kB / 0.9954 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.583e-05/0.156, allocations: 53.42 kB / 0.9954 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/0.156, allocations: 56 kB / 0.9955 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.1567, allocations: 0.6114 MB / 0.9961 GB, free: 12.15 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1567, allocations: 3.938 kB / 0.9961 GB, free: 12.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.1568, allocations: 24 kB / 0.9961 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.753e-05/0.1568, allocations: 21 kB / 0.9961 GB, free: 12.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.1571, allocations: 211.4 kB / 0.9963 GB, free: 11.89 MB / 0.9636 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.002689/0.1598, allocations: 3.668 MB / 0.9999 GB, free: 8.059 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1599, allocations: 254 kB / 1 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.16, allocations: 51.91 kB / 1 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.373e-05/0.1601, allocations: 16.17 kB / 1 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.1601, allocations: 42.5 kB / 1 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.1601, allocations: 0 / 1 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003247/0.1604, allocations: 113.4 kB / 1 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.1605, allocations: 132.8 kB / 1 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.1609, allocations: 494.9 kB / 1.001 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1609, allocations: 29.7 kB / 1.001 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/0.1611, allocations: 380.8 kB / 1.001 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.1612, allocations: 43.72 kB / 1.001 GB, free: 6.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1613, allocations: 77.95 kB / 1.001 GB, free: 6.328 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002429/0.1615, allocations: 362.7 kB / 1.002 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.406e-05/0.1616, allocations: 35.55 kB / 1.002 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.1618, allocations: 397.4 kB / 1.002 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.1621, allocations: 339.7 kB / 1.003 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.1621, allocations: 4 kB / 1.003 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003711/0.1624, allocations: 289.4 kB / 1.003 GB, free: 4.656 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1625, allocations: 8 kB / 1.003 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.1625, allocations: 11.94 kB / 1.003 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1625, allocations: 15.94 kB / 1.003 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.1627, allocations: 91.83 kB / 1.003 GB, free: 4.531 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.1627, allocations: 11.94 kB / 1.003 GB, free: 4.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.163, allocations: 79.69 kB / 1.003 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.1631, allocations: 16 kB / 1.003 GB, free: 4.426 MB / 0.9636 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.000131/0.1632, allocations: 148.5 kB / 1.003 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.359e-05/0.1633, allocations: 27.97 kB / 1.003 GB, free: 4.242 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.667e-05/0.1634, allocations: 48.03 kB / 1.003 GB, free: 4.195 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.513e-06/0.1634, allocations: 7.938 kB / 1.003 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1634, allocations: 0 / 1.003 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1634, allocations: 3.984 kB / 1.003 GB, free: 4.184 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007829/0.1641, allocations: 0.8312 MB / 1.004 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.1642, allocations: 4 kB / 1.004 GB, free: 3.281 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.916e-05/0.1642, allocations: 15.94 kB / 1.004 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1642, allocations: 4 kB / 1.004 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.1642, allocations: 4 kB / 1.004 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1642, allocations: 7.984 kB / 1.004 GB, free: 3.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1642, allocations: 4.281 kB / 1.004 GB, free: 3.246 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.1644, allocations: 188.1 kB / 1.004 GB, free: 3.008 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.289e-05/0.1645, allocations: 59.59 kB / 1.004 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.1645, allocations: 8 kB / 1.004 GB, free: 2.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1646, allocations: 11.98 kB / 1.004 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.1647, allocations: 15.86 kB / 1.004 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.1647, allocations: 8.062 kB / 1.004 GB, free: 2.906 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002069/0.1649, allocations: 208.4 kB / 1.005 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1649, allocations: 4 kB / 1.005 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005169/0.1654, allocations: 191.4 kB / 1.005 GB, free: 2.512 MB / 0.9636 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.0003522/0.1658, allocations: 146.3 kB / 1.005 GB, free: 2.375 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.166, allocations: 142.2 kB / 1.005 GB, free: 2.234 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.158e-05/0.166, allocations: 12.44 kB / 1.005 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/0.166, allocations: 33.34 kB / 1.005 GB, free: 2.184 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005925/0.1666, allocations: 201.9 kB / 1.005 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.1681, allocations: 0.9747 MB / 1.006 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.1683, allocations: 157.2 kB / 1.006 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002287/0.1685, allocations: 72.53 kB / 1.006 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003376/0.1688, allocations: 191.1 kB / 1.007 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of SimCode: time 6.51e-07/0.1688, allocations: 3.938 kB / 1.007 GB, free: 0.5234 MB / 0.9636 GB Notification: Performance of Templates: time 0.01349/0.1823, allocations: 8.018 MB / 1.014 GB, free: 8.73 MB / 0.9792 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.638466489035636]