Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.0009528/0.0009528, allocations: 92.22 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.001007/0.001007, allocations: 169 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 1.003/1.003, allocations: 177.1 MB / 203.4 MB, free: 5.254 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.115/2.115, allocations: 429.5 MB / 0.6733 GB, free: 4 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.416e-05, allocations: 13.69 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002302/0.002326, allocations: 1.355 MB / 0.8795 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.003411, allocations: 0.5771 MB / 0.8801 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.105e-05/0.003442, allocations: 3.938 kB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.813e-05/0.00347, allocations: 8.578 kB / 0.8801 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.127e-05/0.003511, allocations: 3.984 kB / 0.8801 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.004098, allocations: 153.4 kB / 0.8803 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.854e-05/0.004167, allocations: 23.92 kB / 0.8803 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.004211, allocations: 12 kB / 0.8803 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.004254, allocations: 16.95 kB / 0.8803 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.339e-05/0.004317, allocations: 15.97 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.004334, allocations: 0 / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004193/0.004753, allocations: 268.5 kB / 0.8806 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.004771, allocations: 4 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.004801, allocations: 15.97 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.005082, allocations: 164.5 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005085, allocations: 0 / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.005085, allocations: 5.094 kB / 0.8808 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.00509, allocations: 0 / 0.8808 GB, free: 3.672 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004206/0.00551, allocations: 400.2 kB / 0.8811 GB, free: 3.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.005558, allocations: 8.75 kB / 0.8811 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.561e-05/0.005604, allocations: 4.938 kB / 0.8811 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.005699, allocations: 106.2 kB / 0.8813 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.005713, allocations: 8.312 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.005751, allocations: 16.31 kB / 0.8813 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.005887, allocations: 97.64 kB / 0.8814 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.0059, allocations: 5.625 kB / 0.8814 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.00591, allocations: 4.375 kB / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005919, allocations: 384 / 0.8814 GB, free: 2.957 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.531e-05/0.005964, allocations: 15.92 kB / 0.8814 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.006126, allocations: 125.1 kB / 0.8815 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.006247, allocations: 64.12 kB / 0.8816 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.00629, allocations: 23.69 kB / 0.8816 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.006313, allocations: 5.469 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.006342, allocations: 41.31 kB / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.006343, allocations: 0 / 0.8816 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.001044/0.007387, allocations: 444.1 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.007421, allocations: 59.39 kB / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.007523, allocations: 153.9 kB / 0.8823 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.007537, allocations: 25.7 kB / 0.8823 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.007569, allocations: 130.9 kB / 0.8824 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.555e-05/0.007605, allocations: 43.64 kB / 0.8825 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.007639, allocations: 28.56 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.007744, allocations: 0.4884 MB / 0.883 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.007772, allocations: 16 kB / 0.883 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.484e-05/0.007797, allocations: 23.11 kB / 0.883 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.00786, allocations: 51.61 kB / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.007861, allocations: 0 / 0.883 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.725e-05/0.007958, allocations: 89.64 kB / 0.8831 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.00797, allocations: 8 kB / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.007974, allocations: 0 / 0.8831 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.007989, allocations: 3.938 kB / 0.8831 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.769e-05/0.008067, allocations: 23.98 kB / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.008072, allocations: 0 / 0.8832 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.493e-05/0.008087, allocations: 4 kB / 0.8832 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.008093, allocations: 7.938 kB / 0.8832 GB, free: 0.9258 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 5.848e-05/0.008152, allocations: 160.6 kB / 0.8833 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.008164, allocations: 8 kB / 0.8833 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.008285, allocations: 101.7 kB / 0.8834 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.008287, allocations: 7.938 kB / 0.8834 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.00829, allocations: 0 / 0.8834 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.008293, allocations: 0 / 0.8834 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.008561, allocations: 349.3 kB / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.008562, allocations: 0 / 0.8838 GB, free: 264 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.237e-05/0.008624, allocations: 20 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008627, allocations: 3.938 kB / 0.8838 GB, free: 240 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.008635, allocations: 8 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.008636, allocations: 3.984 kB / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.008637, allocations: 0 / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.008809, allocations: 256.2 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.008814, allocations: 3.953 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.008825, allocations: 7.938 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.008869, allocations: 4 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.67e-05/0.008885, allocations: 7.984 kB / 0.8841 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.008891, allocations: 7.938 kB / 0.8841 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.875e-05/0.00892, allocations: 123.2 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.00892, allocations: 4.094 kB / 0.8842 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001716/0.009091, allocations: 35.88 kB / 0.8842 GB, free: 15.76 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001377/0.009229, allocations: 135 kB / 0.8844 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001107/0.00934, allocations: 62.83 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009341, allocations: 0 / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.245e-05/0.009374, allocations: 39.61 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001561/0.00953, allocations: 13.61 kB / 0.8845 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005102/0.01004, allocations: 241.9 kB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.517e-05/0.01008, allocations: 55.36 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.01011, allocations: 16.02 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.705e-05/0.01013, allocations: 16.5 kB / 0.8848 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of SimCode: time 4.2e-07/0.01013, allocations: 3.938 kB / 0.8848 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of Templates: time 0.002456/0.01259, allocations: 0.9392 MB / 0.8857 GB, free: 14.23 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.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.6053258390165865]