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.0009986/0.0009986, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.000954/0.000954, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.9478/0.9478, allocations: 177.2 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.812/1.812, allocations: 377.9 MB / 0.6239 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.914e-06/1.914e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.799e-05, allocations: 3.156 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.1232/0.1233, allocations: 146.7 MB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003657/0.1269, allocations: 3.152 MB / 0.9584 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003534/0.1273, allocations: 43.69 kB / 0.9584 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.1279, allocations: 234.2 kB / 0.9587 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009044/0.1288, allocations: 0.7419 MB / 0.9594 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008924/0.1297, allocations: 0.7169 MB / 0.9601 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00104/0.1307, allocations: 1.488 MB / 0.9615 GB, free: 7.836 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004883/0.1312, allocations: 0.5147 MB / 0.962 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.1323, allocations: 0.8665 MB / 0.9629 GB, free: 6.473 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.1326, allocations: 438.5 kB / 0.9633 GB, free: 6.043 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.049e-05/0.1327, allocations: 56 kB / 0.9634 GB, free: 5.988 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007936/0.1335, allocations: 0.5027 MB / 0.9638 GB, free: 5.484 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.1337, allocations: 311.1 kB / 0.9641 GB, free: 5.18 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001756/0.1338, allocations: 251.4 kB / 0.9644 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0007619/0.1346, allocations: 0.8487 MB / 0.9652 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1346, allocations: 0 / 0.9652 GB, free: 4.082 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1346, allocations: 4 kB / 0.9652 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.1346, allocations: 0 / 0.9652 GB, free: 4.078 MB / 0.9167 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.000871/0.1355, allocations: 1.098 MB / 0.9663 GB, free: 2.938 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.1355, allocations: 12.03 kB / 0.9663 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004433/0.136, allocations: 224.1 kB / 0.9665 GB, free: 2.707 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.1364, allocations: 0.4947 MB / 0.967 GB, free: 2.188 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.1365, allocations: 53.44 kB / 0.967 GB, free: 2.133 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.1365, allocations: 56 kB / 0.9671 GB, free: 2.078 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.137, allocations: 0.6842 MB / 0.9678 GB, free: 1.238 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.137, allocations: 7.938 kB / 0.9678 GB, free: 1.23 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.1371, allocations: 24 kB / 0.9678 GB, free: 1.207 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.1371, allocations: 24.94 kB / 0.9678 GB, free: 1.184 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.1373, allocations: 196.2 kB / 0.968 GB, free: 0.9922 MB / 0.9167 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.00253/0.1398, allocations: 5.353 MB / 0.9732 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.1399, allocations: 112.3 kB / 0.9733 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.225e-05/0.1399, allocations: 50.92 kB / 0.9734 GB, free: 11.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.417e-05/0.14, allocations: 19.98 kB / 0.9734 GB, free: 11.18 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.197e-05/0.14, allocations: 41.33 kB / 0.9734 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=9): time 1.202e-06/0.14, allocations: 0 / 0.9734 GB, free: 11.13 MB / 0.9323 GB Notification: Performance of matching and sorting (n=9): time 0.0002526/0.1403, allocations: 149.5 kB / 0.9736 GB, free: 10.98 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.1403, allocations: 128.5 kB / 0.9737 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1409, allocations: 0.5723 MB / 0.9743 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.1409, allocations: 29.7 kB / 0.9743 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000198/0.1411, allocations: 494.5 kB / 0.9748 GB, free: 9.707 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1411, allocations: 35.73 kB / 0.9748 GB, free: 9.672 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/0.1412, allocations: 95.59 kB / 0.9749 GB, free: 9.57 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1413, allocations: 0.539 MB / 0.9754 GB, free: 9.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.1414, allocations: 24.8 kB / 0.9754 GB, free: 8.996 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.1416, allocations: 0.5017 MB / 0.9759 GB, free: 8.309 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002298/0.1418, allocations: 420.6 kB / 0.9763 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.1418, allocations: 0 / 0.9763 GB, free: 7.75 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003062/0.1421, allocations: 337.3 kB / 0.9767 GB, free: 7.414 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1421, allocations: 9.406 kB / 0.9767 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.1422, allocations: 12 kB / 0.9767 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1422, allocations: 15.94 kB / 0.9767 GB, free: 7.379 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1423, allocations: 83.84 kB / 0.9768 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.1423, allocations: 19.92 kB / 0.9768 GB, free: 7.277 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1425, allocations: 68 kB / 0.9769 GB, free: 7.211 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1425, allocations: 23.98 kB / 0.9769 GB, free: 7.188 MB / 0.9323 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.0001118/0.1427, allocations: 188.3 kB / 0.9771 GB, free: 6.992 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.935e-05/0.1427, allocations: 55.67 kB / 0.9771 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.1428, allocations: 48.12 kB / 0.9772 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1428, allocations: 7.938 kB / 0.9772 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1428, allocations: 3.938 kB / 0.9772 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1428, allocations: 0 / 0.9772 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000698/0.1435, allocations: 1.062 MB / 0.9782 GB, free: 5.742 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1435, allocations: 4 kB / 0.9782 GB, free: 5.738 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.1435, allocations: 19.92 kB / 0.9782 GB, free: 5.719 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1435, allocations: 4 kB / 0.9782 GB, free: 5.715 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.361e-06/0.1435, allocations: 4 kB / 0.9782 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1435, allocations: 288 / 0.9782 GB, free: 5.711 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1435, allocations: 8 kB / 0.9782 GB, free: 5.703 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.1437, allocations: 229.4 kB / 0.9785 GB, free: 5.422 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.493e-05/0.1437, allocations: 67.58 kB / 0.9785 GB, free: 5.355 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1438, allocations: 7.938 kB / 0.9785 GB, free: 5.348 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.818e-05/0.1439, allocations: 11.98 kB / 0.9785 GB, free: 5.336 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.1439, allocations: 15.92 kB / 0.9786 GB, free: 5.32 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.1439, allocations: 4 kB / 0.9786 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001807/0.1441, allocations: 334.7 kB / 0.9789 GB, free: 4.992 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.1441, allocations: 4 kB / 0.9789 GB, free: 4.988 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003258/0.1444, allocations: 175.5 kB / 0.9791 GB, free: 4.816 MB / 0.9323 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.0002588/0.1446, allocations: 181.6 kB / 0.9792 GB, free: 4.641 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.1448, allocations: 145 kB / 0.9794 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.1448, allocations: 4 kB / 0.9794 GB, free: 4.492 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.844e-05/0.1448, allocations: 36.14 kB / 0.9794 GB, free: 4.453 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.1453, allocations: 207.3 kB / 0.9796 GB, free: 4.262 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.1464, allocations: 0.9813 MB / 0.9806 GB, free: 3.211 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.633e-05/0.1465, allocations: 157.2 kB / 0.9807 GB, free: 3.035 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001471/0.1466, allocations: 76.72 kB / 0.9808 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.1469, allocations: 230 kB / 0.981 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of SimCode: time 8.12e-07/0.1469, allocations: 0 / 0.981 GB, free: 2.734 MB / 0.9323 GB Notification: Performance of Templates: time 0.01011/0.157, allocations: 8.138 MB / 0.989 GB, free: 10.84 MB / 0.948 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.186305393930525]