Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.0008443/0.0008443, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001942, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007633/0.0007633, allocations: 161.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009529/0.001716, allocations: 459.6 kB / 11.71 MB, free: 2.457 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 0.9656/0.9656, allocations: 177.1 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07715/1.043, allocations: 53.66 MB / 243.3 MB, free: 15.57 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.791/1.791, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4719/2.263, allocations: 123.3 MB / 0.728 GB, free: 5.809 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.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|vol.ports.[0-9,]+..m_flow|vol.heatPort.Q_flow|vol.heatPort.T",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.398e-05, allocations: 10.06 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1349/0.1349, allocations: 148.1 MB / 0.874 GB, free: 88 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1394, allocations: 3.494 MB / 0.8774 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004735/0.1399, allocations: 31.75 kB / 0.8774 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000489/0.1403, allocations: 174.7 kB / 0.8776 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.1419, allocations: 0.7963 MB / 0.8784 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.1434, allocations: 0.6913 MB / 0.879 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.00141/0.1448, allocations: 1.294 MB / 0.8803 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007473/0.1455, allocations: 409.4 kB / 0.8807 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001079/0.1466, allocations: 0.8574 MB / 0.8815 GB, free: 8.355 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004158/0.147, allocations: 382.9 kB / 0.8819 GB, free: 7.98 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.094e-05/0.1471, allocations: 52 kB / 0.8819 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000766/0.1479, allocations: 0.5885 MB / 0.8825 GB, free: 7.34 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.148, allocations: 191.5 kB / 0.8827 GB, free: 7.152 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1482, allocations: 195.7 kB / 0.8829 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000822/0.149, allocations: 0.7594 MB / 0.8836 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.149, allocations: 0 / 0.8836 GB, free: 6.199 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233e-06/0.149, allocations: 4 kB / 0.8836 GB, free: 6.195 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.149, allocations: 0 / 0.8836 GB, free: 6.195 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001086/0.1501, allocations: 1.057 MB / 0.8847 GB, free: 5.094 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.1501, allocations: 12.03 kB / 0.8847 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006554/0.1508, allocations: 264.3 kB / 0.8849 GB, free: 4.824 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.1512, allocations: 351.6 kB / 0.8853 GB, free: 4.453 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.1512, allocations: 41.12 kB / 0.8853 GB, free: 4.414 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.1513, allocations: 40 kB / 0.8853 GB, free: 4.375 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.1518, allocations: 0.6794 MB / 0.886 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.1518, allocations: 3.938 kB / 0.886 GB, free: 3.598 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.213e-05/0.1519, allocations: 20 kB / 0.886 GB, free: 3.578 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.1519, allocations: 24.94 kB / 0.886 GB, free: 3.555 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.1521, allocations: 160.5 kB / 0.8862 GB, free: 3.391 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1536, allocations: 1.325 MB / 0.8875 GB, free: 2.016 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.1539, allocations: 129.3 kB / 0.8876 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.604e-05/0.1539, allocations: 32.83 kB / 0.8876 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1539, allocations: 4 kB / 0.8877 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.1539, allocations: 42.5 kB / 0.8877 GB, free: 1.789 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.1539, allocations: 4 kB / 0.8877 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.001207/0.1552, allocations: 424.6 kB / 0.8881 GB, free: 1.359 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.1552, allocations: 51.62 kB / 0.8881 GB, free: 1.297 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002022/0.1554, allocations: 355.2 kB / 0.8885 GB, free: 0.9414 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.1554, allocations: 33.64 kB / 0.8885 GB, free: 0.9023 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.1555, allocations: 276.6 kB / 0.8888 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.1556, allocations: 43.67 kB / 0.8888 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.1556, allocations: 53.62 kB / 0.8889 GB, free: 0.5234 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.961e-05/0.1557, allocations: 354.7 kB / 0.8892 GB, free: 172 kB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.1558, allocations: 38.81 kB / 0.8893 GB, free: 132 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1559, allocations: 127.3 kB / 0.8894 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.156, allocations: 161.1 kB / 0.8895 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.156, allocations: 0 / 0.8895 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005541/0.1566, allocations: 283.8 kB / 0.8898 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1566, allocations: 8 kB / 0.8898 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1566, allocations: 0 / 0.8898 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.1572, allocations: 239.5 kB / 0.89 GB, free: 15.24 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001673/0.1574, allocations: 67.89 kB / 0.8901 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.1585, allocations: 1.426 MB / 0.8915 GB, free: 13.65 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1587, allocations: 39.83 kB / 0.8915 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.1587, allocations: 7.984 kB / 0.8915 GB, free: 13.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.1588, allocations: 132.5 kB / 0.8917 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.1589, allocations: 27.97 kB / 0.8917 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/0.1589, allocations: 47.23 kB / 0.8917 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1589, allocations: 4 kB / 0.8917 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1589, allocations: 0 / 0.8917 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1589, allocations: 0 / 0.8917 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007267/0.1597, allocations: 0.523 MB / 0.8922 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1597, allocations: 4.062 kB / 0.8923 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.618e-05/0.1597, allocations: 31.91 kB / 0.8923 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.1598, allocations: 59.62 kB / 0.8923 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/0.1604, allocations: 250.2 kB / 0.8926 GB, free: 12.48 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1604, allocations: 7.938 kB / 0.8926 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009302/0.1613, allocations: 1.392 MB / 0.8939 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1613, allocations: 0 / 0.8939 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005128/0.1619, allocations: 374.2 kB / 0.8943 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.1619, allocations: 4 kB / 0.8943 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.1621, allocations: 27.97 kB / 0.8943 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.1621, allocations: 11.97 kB / 0.8943 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.1621, allocations: 19.92 kB / 0.8944 GB, free: 10.53 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001029/0.1622, allocations: 144.7 kB / 0.8945 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1622, allocations: 0 / 0.8945 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003486/0.1626, allocations: 203.5 kB / 0.8947 GB, free: 10.19 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001896/0.1628, allocations: 120.3 kB / 0.8948 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.1631, allocations: 249.4 kB / 0.895 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/0.1631, allocations: 8 kB / 0.8951 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1633, allocations: 180 kB / 0.8952 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005216/0.1638, allocations: 264.1 kB / 0.8955 GB, free: 9.352 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.1682, allocations: 0.9194 MB / 0.8964 GB, free: 8.395 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.979e-05/0.1683, allocations: 129.2 kB / 0.8965 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001678/0.1684, allocations: 59.27 kB / 0.8966 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003493/0.1688, allocations: 230.9 kB / 0.8968 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of SimCode: time 8.12e-07/0.1688, allocations: 0 / 0.8968 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of Templates: time 0.01176/0.1805, allocations: 10.54 MB / 0.9071 GB, free: 13.65 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate/Buildings_12_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.ref.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.150693408213556]