Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001484/0.001484, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.00194/0.00194, allocations: 165.4 kB / 24.16 MB, free: 336 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 1.002/1.002, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.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.922/1.922, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 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.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_12_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_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.7601 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.446e-05, allocations: 7.625 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001856/0.001881, allocations: 1.388 MB / 0.7614 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007648/0.002646, allocations: 0.5929 MB / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.289e-05/0.002669, allocations: 0 / 0.762 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.689e-05/0.002685, allocations: 3.938 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.002724, allocations: 2.891 kB / 0.762 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003902/0.003114, allocations: 150.6 kB / 0.7622 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.003165, allocations: 23.92 kB / 0.7622 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.003199, allocations: 7.984 kB / 0.7622 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.766e-05/0.003236, allocations: 20.81 kB / 0.7622 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.026e-05/0.003287, allocations: 7.938 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.263e-05/0.003299, allocations: 0.5312 kB / 0.7622 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.003601, allocations: 275.4 kB / 0.7625 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.7e-05/0.003618, allocations: 8.984 kB / 0.7625 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.621e-05/0.003634, allocations: 11.98 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004407/0.004075, allocations: 164.4 kB / 0.7627 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004077, allocations: 0 / 0.7627 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004078, allocations: 0 / 0.7627 GB, free: 3.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.004081, allocations: 1.219 kB / 0.7627 GB, free: 3.957 MB / 0.7136 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.0002308/0.004312, allocations: 272.2 kB / 0.7629 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.837e-05/0.00434, allocations: 8.031 kB / 0.7629 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.004364, allocations: 10.42 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.105e-05/0.004425, allocations: 106.1 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-06/0.004432, allocations: 384 / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.004456, allocations: 12.33 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.812e-05/0.004534, allocations: 94.3 kB / 0.7631 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004543, allocations: 4.938 kB / 0.7631 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-06/0.00455, allocations: 8.312 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.004554, allocations: 5.062 kB / 0.7632 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.004577, allocations: 11.94 kB / 0.7632 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.309e-05/0.00466, allocations: 67.03 kB / 0.7632 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/0.004732, allocations: 46.62 kB / 0.7633 GB, free: 3.238 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.372e-05/0.004755, allocations: 16.86 kB / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.004769, allocations: 0 / 0.7633 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.004796, allocations: 38.72 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.004797, allocations: 0.6562 kB / 0.7633 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0006982/0.005495, allocations: 443.1 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.357e-05/0.005518, allocations: 55.41 kB / 0.7638 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.987e-05/0.005568, allocations: 109.7 kB / 0.7639 GB, free: 2.504 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.005579, allocations: 33.7 kB / 0.7639 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.133e-05/0.005601, allocations: 80.14 kB / 0.764 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.286e-05/0.005634, allocations: 39.64 kB / 0.7641 GB, free: 2.344 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.005662, allocations: 25.7 kB / 0.7641 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.005734, allocations: 318.8 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.005748, allocations: 11.98 kB / 0.7644 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.541e-05/0.005763, allocations: 14.75 kB / 0.7644 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.005805, allocations: 41.25 kB / 0.7644 GB, free: 1.926 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.005806, allocations: 4 kB / 0.7645 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.455e-05/0.00587, allocations: 67.14 kB / 0.7645 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.005881, allocations: 4 kB / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.005885, allocations: 0 / 0.7645 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.178e-06/0.005895, allocations: 4 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.7e-05/0.005962, allocations: 27.17 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.005965, allocations: 3.938 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.318e-05/0.005978, allocations: 4 kB / 0.7646 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.005982, allocations: 0 / 0.7646 GB, free: 1.812 MB / 0.7136 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 4.91e-05/0.006032, allocations: 113.8 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/0.006042, allocations: 8 kB / 0.7647 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.006136, allocations: 81.72 kB / 0.7647 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.006137, allocations: 3.031 kB / 0.7648 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006138, allocations: 7.938 kB / 0.7648 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.006141, allocations: 3.938 kB / 0.7648 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.006329, allocations: 218.8 kB / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.006331, allocations: 0 / 0.765 GB, free: 1.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-05/0.006394, allocations: 19.98 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.006395, allocations: 0 / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.006401, allocations: 7.938 kB / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006402, allocations: 0 / 0.765 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.006404, allocations: 5.344 kB / 0.765 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.006522, allocations: 187.7 kB / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-06/0.006527, allocations: 0 / 0.7652 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.006539, allocations: 9.266 kB / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.01e-05/0.006579, allocations: 0 / 0.7652 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.006596, allocations: 15.92 kB / 0.7652 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.0066, allocations: 0 / 0.7652 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.236e-06/0.006608, allocations: 9.516 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.1e-08/0.006608, allocations: 0.625 kB / 0.7652 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001544/0.006763, allocations: 40.53 kB / 0.7653 GB, free: 1.039 MB / 0.7136 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.0001598/0.006923, allocations: 116.9 kB / 0.7654 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.007026, allocations: 56.2 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.007029, allocations: 0.5312 kB / 0.7654 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.007067, allocations: 34.28 kB / 0.7655 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001099/0.007176, allocations: 4 kB / 0.7655 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/0.007613, allocations: 226.2 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.311e-05/0.007646, allocations: 63.34 kB / 0.7657 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.993e-05/0.007676, allocations: 8.609 kB / 0.7657 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.007724, allocations: 67.36 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of SimCode: time 6.12e-07/0.007725, allocations: 1.781 kB / 0.7658 GB, free: 452 kB / 0.7136 GB Notification: Performance of Templates: time 0.002539/0.01026, allocations: 1.061 MB / 0.7668 GB, free: 15.47 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.034323051106185]