Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.00157/0.00157, 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.001792/0.001792, 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 1.046/1.046, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.124/2.124, allocations: 429.5 MB / 0.6736 GB, free: 4.016 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.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.422e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001995/0.002029, allocations: 1.42 MB / 0.8796 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003056, allocations: 0.9305 MB / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.553e-05/0.003092, allocations: 0 / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.003114, allocations: 3.938 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.366e-05/0.003168, allocations: 7.922 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005127/0.00368, allocations: 217.7 kB / 0.8807 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.469e-05/0.003765, allocations: 67.7 kB / 0.8808 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.003806, allocations: 5.031 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.109e-05/0.003857, allocations: 31.97 kB / 0.8808 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.604e-05/0.003913, allocations: 19.91 kB / 0.8809 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.003928, allocations: 5.062 kB / 0.8809 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003795/0.004307, allocations: 375.5 kB / 0.8812 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.485e-05/0.004332, allocations: 11.92 kB / 0.8812 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.863e-05/0.004361, allocations: 25.03 kB / 0.8813 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003187/0.004679, allocations: 299.5 kB / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.004682, allocations: 0 / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004683, allocations: 2.469 kB / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.004687, allocations: 0 / 0.8815 GB, free: 3.211 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.0004037/0.005091, allocations: 455.3 kB / 0.882 GB, free: 2.727 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.005128, allocations: 8.031 kB / 0.882 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.005324, allocations: 28.8 kB / 0.882 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.007e-05/0.005414, allocations: 130.5 kB / 0.8821 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.005428, allocations: 4.375 kB / 0.8821 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.005448, allocations: 4.375 kB / 0.8821 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.005605, allocations: 122.3 kB / 0.8823 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005616, allocations: 4.172 kB / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.005626, allocations: 384 / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.005633, allocations: 1.094 kB / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.086e-05/0.005684, allocations: 25.56 kB / 0.8823 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.005826, allocations: 136.6 kB / 0.8824 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.00594, allocations: 70.97 kB / 0.8825 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.00598, allocations: 36.17 kB / 0.8825 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.005992, allocations: 3.938 kB / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.006016, allocations: 38.58 kB / 0.8826 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.006017, allocations: 0 / 0.8826 GB, free: 2.023 MB / 0.8386 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002376/0.008392, allocations: 0.8292 MB / 0.8834 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.008423, allocations: 51.41 kB / 0.8834 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.507e-05/0.008509, allocations: 181.9 kB / 0.8836 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.008528, allocations: 29.7 kB / 0.8836 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.008568, allocations: 135.1 kB / 0.8838 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.008603, allocations: 39.69 kB / 0.8838 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.008666, allocations: 51.33 kB / 0.8838 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.008769, allocations: 0.4884 MB / 0.8843 GB, free: 104 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.445e-05/0.008863, allocations: 67.97 kB / 0.8844 GB, free: 36 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.008965, allocations: 87.64 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.009152, allocations: 157.7 kB / 0.8846 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.009153, allocations: 0 / 0.8846 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002701/0.009423, allocations: 213.5 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.009435, allocations: 4 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.009449, allocations: 7.984 kB / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.009462, allocations: 0 / 0.8848 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.00961, allocations: 39.84 kB / 0.8849 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.009615, allocations: 4 kB / 0.8849 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.742e-05/0.009683, allocations: 4 kB / 0.8849 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.009696, allocations: 7.984 kB / 0.8849 GB, free: 15.52 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 7.942e-05/0.009775, allocations: 160.6 kB / 0.885 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.009801, allocations: 11.95 kB / 0.8851 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.117e-05/0.009832, allocations: 12.44 kB / 0.8851 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.009834, allocations: 0 / 0.8851 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.009839, allocations: 3.938 kB / 0.8851 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.009842, allocations: 0 / 0.8851 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.0103, allocations: 425.3 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.0103, allocations: 4 kB / 0.8855 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001365/0.01043, allocations: 27.97 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01044, allocations: 0 / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.01045, allocations: 15.92 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01045, allocations: 0 / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01045, allocations: 0 / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.01082, allocations: 363.7 kB / 0.8859 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.01082, allocations: 7.953 kB / 0.8859 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.01085, allocations: 7.875 kB / 0.8859 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.352e-05/0.01094, allocations: 16.02 kB / 0.8859 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.01097, allocations: 7.984 kB / 0.8859 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.01098, allocations: 7.984 kB / 0.8859 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.01102, allocations: 135.9 kB / 0.886 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 0.886 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001964/0.01122, allocations: 43.94 kB / 0.8861 GB, free: 14.22 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002178/0.01144, allocations: 111.2 kB / 0.8862 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002625/0.0117, allocations: 190.7 kB / 0.8864 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0117, allocations: 4 kB / 0.8864 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.01179, allocations: 79.53 kB / 0.8864 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.012, allocations: 23.97 kB / 0.8865 GB, free: 13.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.013, allocations: 370.2 kB / 0.8868 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.737e-05/0.01304, allocations: 67.34 kB / 0.8869 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.093e-05/0.01313, allocations: 24.72 kB / 0.8869 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.0132, allocations: 16.48 kB / 0.8869 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.0132, allocations: 0 / 0.8869 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of Templates: time 0.003762/0.01696, allocations: 2.35 MB / 0.8892 GB, free: 10.99 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_BaseClasses_FlowModels_Validation_PowerLaw_m_flow_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.377721328986809]