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.001355/0.001355, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001461/0.001461, allocations: 173 kB / 23.49 MB, free: 1.059 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.918/0.918, allocations: 177.1 MB / 203.8 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.081/2.081, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.563e-06/1.563e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.641e-05/1.797e-05, allocations: 6.844 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00486/0.004878, allocations: 1.363 MB / 0.8795 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008817/0.005759, allocations: 0.5782 MB / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.005784, allocations: 0 / 0.8801 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.068e-05/0.005805, allocations: 8.578 kB / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.005838, allocations: 0 / 0.8801 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004495/0.006288, allocations: 157.4 kB / 0.8803 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.423e-05/0.006352, allocations: 27.86 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.511e-05/0.006387, allocations: 4 kB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.006422, allocations: 15.97 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.006475, allocations: 13.64 kB / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.006487, allocations: 0 / 0.8803 GB, free: 4.488 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003357/0.006823, allocations: 271.4 kB / 0.8806 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.006837, allocations: 3.984 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.145e-05/0.006858, allocations: 14.84 kB / 0.8806 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.007083, allocations: 167.4 kB / 0.8808 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.007085, allocations: 0 / 0.8808 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.92e-07/0.007086, allocations: 0 / 0.8808 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.007089, allocations: 0 / 0.8808 GB, free: 4.043 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.003359/0.01045, allocations: 404.2 kB / 0.8811 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.01048, allocations: 12.03 kB / 0.8812 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.01053, allocations: 4.938 kB / 0.8812 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.01061, allocations: 105.3 kB / 0.8813 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.01062, allocations: 6.031 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.01065, allocations: 12.33 kB / 0.8813 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.01076, allocations: 97.64 kB / 0.8814 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01077, allocations: 192 / 0.8814 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.01078, allocations: 384 / 0.8814 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.01079, allocations: 5.719 kB / 0.8814 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.01082, allocations: 23.86 kB / 0.8814 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.01096, allocations: 120.6 kB / 0.8815 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.01118, allocations: 63.11 kB / 0.8816 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.766e-05/0.01122, allocations: 23.84 kB / 0.8816 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.01124, allocations: 7.984 kB / 0.8816 GB, free: 3.047 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.01126, allocations: 37.38 kB / 0.8816 GB, free: 3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.01126, allocations: 0 / 0.8816 GB, free: 3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0008033/0.01207, allocations: 448.4 kB / 0.8821 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.0121, allocations: 55.39 kB / 0.8821 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.01216, allocations: 161.9 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.01218, allocations: 25.7 kB / 0.8823 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.01221, allocations: 134.9 kB / 0.8824 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.01225, allocations: 39.64 kB / 0.8825 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.01229, allocations: 31.38 kB / 0.8825 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.0124, allocations: 496.1 kB / 0.883 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.01243, allocations: 16 kB / 0.883 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.887e-05/0.01246, allocations: 15.98 kB / 0.883 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.01253, allocations: 58.17 kB / 0.8831 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.01253, allocations: 128 / 0.8831 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001124/0.01264, allocations: 93.64 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.01266, allocations: 8 kB / 0.8832 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.01266, allocations: 0 / 0.8832 GB, free: 1.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01267, allocations: 3.938 kB / 0.8832 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.914e-05/0.01275, allocations: 19.98 kB / 0.8832 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01276, allocations: 4 kB / 0.8832 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.01277, allocations: 4 kB / 0.8832 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.01278, allocations: 8 kB / 0.8832 GB, free: 1.281 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 6.431e-05/0.01285, allocations: 160.5 kB / 0.8833 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.01286, allocations: 4 kB / 0.8834 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.013, allocations: 101.8 kB / 0.8834 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.013, allocations: 7.938 kB / 0.8835 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.013, allocations: 0 / 0.8835 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01301, allocations: 0 / 0.8835 GB, free: 1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.01631, allocations: 345.3 kB / 0.8838 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01631, allocations: 4 kB / 0.8838 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.01639, allocations: 20 kB / 0.8838 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01639, allocations: 3.938 kB / 0.8838 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.0164, allocations: 0 / 0.8838 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.0164, allocations: 7.984 kB / 0.8838 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.0164, allocations: 7.984 kB / 0.8838 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.01659, allocations: 251.8 kB / 0.8841 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-06/0.01659, allocations: 3.953 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.322e-05/0.01661, allocations: 7.938 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.948e-05/0.01667, allocations: 4 kB / 0.8841 GB, free: 304 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.878e-05/0.01669, allocations: 7.984 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.01669, allocations: 0 / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.01672, allocations: 131.2 kB / 0.8842 GB, free: 164 kB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01672, allocations: 0 / 0.8842 GB, free: 164 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002373/0.01696, allocations: 31.88 kB / 0.8842 GB, free: 132 kB / 0.8386 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.0001678/0.01713, allocations: 135.3 kB / 0.8844 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001139/0.01724, allocations: 63.48 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01724, allocations: 0 / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-05/0.01728, allocations: 39.61 kB / 0.8845 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001996/0.01748, allocations: 11.98 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005381/0.01802, allocations: 245.9 kB / 0.8847 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.767e-05/0.01806, allocations: 60.53 kB / 0.8848 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.739e-05/0.0181, allocations: 20 kB / 0.8848 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.01812, allocations: 12.5 kB / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.01812, allocations: 0 / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of Templates: time 0.005866/0.02399, allocations: 0.9468 MB / 0.8857 GB, free: 14.59 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.217532017966732]