Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_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.001087/0.001087, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.0009945/0.0009945, allocations: 169.7 kB / 23.27 MB, free: 1.227 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.9214/0.9214, allocations: 177.1 MB / 203.7 MB, free: 5.5 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.319/2.319, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.779e-05, allocations: 10.25 kB / 0.8898 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002124/0.002152, allocations: 1.407 MB / 0.8912 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001205/0.003357, allocations: 0.9066 MB / 0.892 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.003434, allocations: 7.875 kB / 0.8921 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.003469, allocations: 3.984 kB / 0.8921 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.003544, allocations: 3.938 kB / 0.8921 GB, free: 7.375 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006239/0.004168, allocations: 222.9 kB / 0.8923 GB, free: 7.156 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.473e-05/0.004253, allocations: 59.7 kB / 0.8923 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.004295, allocations: 11.88 kB / 0.8923 GB, free: 7.086 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.004357, allocations: 23.97 kB / 0.8924 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.232e-05/0.004419, allocations: 27.91 kB / 0.8924 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.004435, allocations: 4 kB / 0.8924 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004251/0.00486, allocations: 367.5 kB / 0.8927 GB, free: 6.672 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.004887, allocations: 15.92 kB / 0.8928 GB, free: 6.656 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.004918, allocations: 19.91 kB / 0.8928 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003673/0.005286, allocations: 311 kB / 0.8931 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.005291, allocations: 0 / 0.8931 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005292, allocations: 0 / 0.8931 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.005297, allocations: 0 / 0.8931 GB, free: 6.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004445/0.005742, allocations: 447.3 kB / 0.8935 GB, free: 5.855 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.005794, allocations: 12.62 kB / 0.8935 GB, free: 5.844 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/0.006013, allocations: 36.8 kB / 0.8936 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.188e-05/0.006105, allocations: 116.5 kB / 0.8937 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.006121, allocations: 4.375 kB / 0.8937 GB, free: 5.664 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.006148, allocations: 12.33 kB / 0.8937 GB, free: 5.652 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.006323, allocations: 122.3 kB / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.006335, allocations: 192 / 0.8938 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006345, allocations: 4.359 kB / 0.8938 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.006353, allocations: 4.375 kB / 0.8938 GB, free: 5.504 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.006389, allocations: 15.92 kB / 0.8938 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.006537, allocations: 117.3 kB / 0.8939 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.006643, allocations: 63.03 kB / 0.894 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.006671, allocations: 23.67 kB / 0.894 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.006697, allocations: 11.88 kB / 0.894 GB, free: 5.234 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.006722, allocations: 33.39 kB / 0.8941 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.006723, allocations: 0 / 0.8941 GB, free: 5.191 MB / 0.8542 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002202/0.008925, allocations: 0.7769 MB / 0.8948 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.008949, allocations: 55.34 kB / 0.8949 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.616e-05/0.009035, allocations: 185.8 kB / 0.895 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.009053, allocations: 29.7 kB / 0.8951 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.009094, allocations: 135.1 kB / 0.8952 GB, free: 3.91 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.009129, allocations: 35.69 kB / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.526e-05/0.009195, allocations: 55.31 kB / 0.8953 GB, free: 3.812 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.009301, allocations: 0.4923 MB / 0.8958 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.607e-05/0.009367, allocations: 63.97 kB / 0.8958 GB, free: 3.246 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.009435, allocations: 69.97 kB / 0.8959 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.009572, allocations: 139.6 kB / 0.896 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.009573, allocations: 0 / 0.896 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002122/0.009785, allocations: 211.3 kB / 0.8962 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.0098, allocations: 8 kB / 0.8962 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.009816, allocations: 0 / 0.8962 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.009828, allocations: 0 / 0.8962 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.009962, allocations: 39.95 kB / 0.8963 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.009966, allocations: 3.938 kB / 0.8963 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.301e-05/0.01003, allocations: 8 kB / 0.8963 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01004, allocations: 3.984 kB / 0.8963 GB, free: 2.766 MB / 0.8542 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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 8.686e-05/0.01013, allocations: 164.5 kB / 0.8965 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.82e-05/0.01016, allocations: 7.953 kB / 0.8965 GB, free: 2.586 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.0102, allocations: 20.42 kB / 0.8965 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.0102, allocations: 0 / 0.8965 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.0102, allocations: 0 / 0.8965 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.0102, allocations: 3.938 kB / 0.8965 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.01063, allocations: 389.9 kB / 0.8969 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01063, allocations: 0 / 0.8969 GB, free: 2.148 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.01075, allocations: 31.91 kB / 0.8969 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.01076, allocations: 4 kB / 0.8969 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.01077, allocations: 11.98 kB / 0.8969 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01077, allocations: 0 / 0.8969 GB, free: 2.102 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.01078, allocations: 3.938 kB / 0.8969 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.01108, allocations: 328.4 kB / 0.8972 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.266e-05/0.0111, allocations: 7.984 kB / 0.8972 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.01112, allocations: 4 kB / 0.8972 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.01124, allocations: 4 kB / 0.8972 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.024e-05/0.01127, allocations: 19.86 kB / 0.8973 GB, free: 1.723 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.01128, allocations: 3.984 kB / 0.8973 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.01132, allocations: 139.1 kB / 0.8974 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01132, allocations: 0 / 0.8974 GB, free: 1.582 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001819/0.0115, allocations: 43.94 kB / 0.8974 GB, free: 1.539 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.0001447/0.01165, allocations: 111.2 kB / 0.8975 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.01185, allocations: 181.2 kB / 0.8977 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01185, allocations: 3.938 kB / 0.8977 GB, free: 1.234 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.454e-05/0.01192, allocations: 67.64 kB / 0.8978 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.01212, allocations: 15.98 kB / 0.8978 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009085/0.01302, allocations: 346.3 kB / 0.8981 GB, free: 0.7773 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.102e-05/0.01307, allocations: 67.28 kB / 0.8982 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.554e-05/0.01314, allocations: 20.73 kB / 0.8982 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.01326, allocations: 94.17 kB / 0.8983 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of SimCode: time 6.71e-07/0.01326, allocations: 0 / 0.8983 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of Templates: time 0.003883/0.01714, allocations: 2.533 MB / 0.9008 GB, free: 14.06 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_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.217022335156798]