Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0009462/0.0009462, allocations: 93.06 kB / 19.65 MB, free: 280 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.001016/0.001016, allocations: 165 kB / 23.02 MB, free: 1.551 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.9953/0.9953, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.13/2.13, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.8782 GB, free: 6.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.695e-05, allocations: 5.125 kB / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003157/0.003184, allocations: 1.723 MB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002626/0.005809, allocations: 1.728 MB / 0.8816 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.005889, allocations: 5.5 kB / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000511/0.0064, allocations: 55.64 kB / 0.8816 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.006696, allocations: 103.5 kB / 0.8817 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.006881, allocations: 80.64 kB / 0.8818 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.007125, allocations: 175.6 kB / 0.882 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.031e-05/0.007166, allocations: 7.984 kB / 0.882 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.007289, allocations: 88.88 kB / 0.8821 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.00742, allocations: 63.84 kB / 0.8821 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.007451, allocations: 12 kB / 0.8821 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.007642, allocations: 108.8 kB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.857e-05/0.007721, allocations: 47.84 kB / 0.8823 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.974e-05/0.00779, allocations: 43.84 kB / 0.8823 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.008163, allocations: 224.3 kB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.008166, allocations: 0 / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.323e-06/0.008167, allocations: 0 / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.008173, allocations: 4.875 kB / 0.8825 GB, free: 1.84 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006456/0.008819, allocations: 0.5149 MB / 0.883 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.008863, allocations: 8.531 kB / 0.8831 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.889e-05/0.008942, allocations: 26.67 kB / 0.8831 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/0.009285, allocations: 209.2 kB / 0.8833 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.009304, allocations: 4.375 kB / 0.8833 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.009326, allocations: 4.375 kB / 0.8833 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.009583, allocations: 153.1 kB / 0.8834 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.009597, allocations: 3.938 kB / 0.8834 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.009615, allocations: 7.984 kB / 0.8834 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003755/0.009991, allocations: 3.984 kB / 0.8835 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.01024, allocations: 128.9 kB / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002244/0.01046, allocations: 168.5 kB / 0.8837 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.01088, allocations: 195.6 kB / 0.8839 GB, free: 308 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.739e-05/0.01097, allocations: 41.2 kB / 0.884 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.01099, allocations: 4 kB / 0.884 GB, free: 260 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.01118, allocations: 97 kB / 0.8841 GB, free: 148 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.994e-06/0.01118, allocations: 0 / 0.8841 GB, free: 148 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0004531/0.01163, allocations: 191.2 kB / 0.8842 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.01168, allocations: 77.11 kB / 0.8843 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.01192, allocations: 257.6 kB / 0.8846 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.01195, allocations: 29.7 kB / 0.8846 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.01203, allocations: 162.9 kB / 0.8847 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.849e-05/0.01209, allocations: 43.69 kB / 0.8848 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.347e-05/0.01215, allocations: 39.36 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.0123, allocations: 0.5059 MB / 0.8853 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.862e-05/0.01238, allocations: 27.92 kB / 0.8853 GB, free: 14.76 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.01249, allocations: 92.73 kB / 0.8854 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.01265, allocations: 88.02 kB / 0.8855 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01266, allocations: 0 / 0.8855 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000284/0.01294, allocations: 151.2 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01296, allocations: 4 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01296, allocations: 3.938 kB / 0.8857 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.21e-05/0.01299, allocations: 4 kB / 0.8857 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.01312, allocations: 28.52 kB / 0.8857 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.01312, allocations: 4 kB / 0.8857 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.294e-05/0.01319, allocations: 20.81 kB / 0.8857 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.0132, allocations: 4 kB / 0.8857 GB, free: 14.34 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001159/0.01332, allocations: 165.3 kB / 0.8859 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.01337, allocations: 23.91 kB / 0.8859 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004409/0.01381, allocations: 226.9 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.01381, allocations: 3.938 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.01382, allocations: 0 / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.01382, allocations: 4 kB / 0.8861 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.01403, allocations: 196.4 kB / 0.8863 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.01404, allocations: 0 / 0.8863 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01416, allocations: 31.98 kB / 0.8863 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01416, allocations: 8 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.01418, allocations: 0 / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.01418, allocations: 11.92 kB / 0.8864 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.01418, allocations: 3.938 kB / 0.8864 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.01455, allocations: 233.9 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.01459, allocations: 27.78 kB / 0.8866 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.556e-05/0.01462, allocations: 8 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.01468, allocations: 4 kB / 0.8866 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.01473, allocations: 19.91 kB / 0.8867 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.01475, allocations: 8 kB / 0.8867 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000142/0.0149, allocations: 184.5 kB / 0.8868 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0149, allocations: 4 kB / 0.8868 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000315/0.01521, allocations: 55.88 kB / 0.8869 GB, free: 13.07 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001509/0.01672, allocations: 0.4983 MB / 0.8874 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.017, allocations: 106.3 kB / 0.8875 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.017, allocations: 0 / 0.8875 GB, free: 12.64 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.01713, allocations: 76.66 kB / 0.8876 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.01743, allocations: 50.44 kB / 0.8876 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.01805, allocations: 314.7 kB / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.925e-05/0.01811, allocations: 80.48 kB / 0.888 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001105/0.01823, allocations: 49.84 kB / 0.888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.01832, allocations: 40.55 kB / 0.8881 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of SimCode: time 6.31e-07/0.01832, allocations: 0 / 0.8881 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of Templates: time 0.007178/0.0255, allocations: 3.464 MB / 0.8914 GB, free: 8.586 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.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.613951777108014]