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.001373/0.001373, allocations: 81.95 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.001438/0.001438, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.963/0.963, allocations: 177.1 MB / 203.7 MB, free: 5.508 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.311/2.311, allocations: 438.1 MB / 0.682 GB, free: 14.13 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_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.154e-06/2.154e-06, allocations: 0 / 0.8898 GB, free: 9.711 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.973e-05/2.188e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.707 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.00175/0.001772, allocations: 1.434 MB / 0.8912 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009118/0.002683, allocations: 0.8987 MB / 0.8921 GB, free: 7.359 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.002717, allocations: 4 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.132e-05/0.002738, allocations: 3.938 kB / 0.8921 GB, free: 7.352 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.933e-05/0.002788, allocations: 19.84 kB / 0.8921 GB, free: 7.332 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.003224, allocations: 218.9 kB / 0.8923 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 7.129e-05/0.003296, allocations: 55.78 kB / 0.8923 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.153e-05/0.003327, allocations: 3.938 kB / 0.8923 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 5.117e-05/0.003378, allocations: 35.95 kB / 0.8924 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.003426, allocations: 15.92 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.003438, allocations: 4 kB / 0.8924 GB, free: 7.004 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003573/0.003795, allocations: 379.4 kB / 0.8928 GB, free: 6.633 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.003812, allocations: 11.98 kB / 0.8928 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.003832, allocations: 23.91 kB / 0.8928 GB, free: 6.598 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.004117, allocations: 303.1 kB / 0.8931 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004119, allocations: 0 / 0.8931 GB, free: 6.301 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.91e-07/0.004119, allocations: 4 kB / 0.8931 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.004122, allocations: 0 / 0.8931 GB, free: 6.297 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.0003324/0.004455, allocations: 451.3 kB / 0.8935 GB, free: 5.816 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.004489, allocations: 8.625 kB / 0.8935 GB, free: 5.809 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.004633, allocations: 36.8 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.004699, allocations: 112.6 kB / 0.8937 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.00471, allocations: 4.359 kB / 0.8937 GB, free: 5.633 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.004726, allocations: 8.328 kB / 0.8937 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.004836, allocations: 118.3 kB / 0.8938 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.004845, allocations: 8.172 kB / 0.8938 GB, free: 5.48 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.004854, allocations: 8.375 kB / 0.8938 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.004858, allocations: 4.312 kB / 0.8938 GB, free: 5.469 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.752e-05/0.004896, allocations: 19.92 kB / 0.8938 GB, free: 5.449 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.005, allocations: 109.3 kB / 0.8939 GB, free: 5.316 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.978e-05/0.00508, allocations: 63.03 kB / 0.894 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.005105, allocations: 31.81 kB / 0.894 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.005118, allocations: 0 / 0.894 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.005138, allocations: 37.39 kB / 0.8941 GB, free: 5.16 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 7.01e-07/0.005139, allocations: 7.938 kB / 0.8941 GB, free: 5.152 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.001931/0.00707, allocations: 0.7612 MB / 0.8948 GB, free: 4.328 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.007104, allocations: 63.28 kB / 0.8949 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.5e-05/0.007179, allocations: 185.8 kB / 0.8951 GB, free: 4.055 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.007197, allocations: 33.7 kB / 0.8951 GB, free: 4.016 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.007236, allocations: 135.1 kB / 0.8952 GB, free: 3.875 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.00727, allocations: 39.67 kB / 0.8953 GB, free: 3.836 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.007328, allocations: 51.31 kB / 0.8953 GB, free: 3.777 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.00743, allocations: 0.4884 MB / 0.8958 GB, free: 3.277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.361e-05/0.007493, allocations: 55.97 kB / 0.8958 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.274e-05/0.007556, allocations: 59.97 kB / 0.8959 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.007693, allocations: 133.5 kB / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007694, allocations: 0 / 0.896 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000209/0.007903, allocations: 199.3 kB / 0.8962 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.007914, allocations: 4 kB / 0.8962 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.007926, allocations: 4 kB / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.007935, allocations: 0 / 0.8962 GB, free: 2.824 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.008056, allocations: 31.97 kB / 0.8962 GB, free: 2.793 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.00806, allocations: 3.938 kB / 0.8962 GB, free: 2.789 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.073e-05/0.00812, allocations: 7.984 kB / 0.8963 GB, free: 2.781 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.008132, allocations: 5.016 kB / 0.8963 GB, free: 2.777 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 6.803e-05/0.0082, allocations: 164.6 kB / 0.8964 GB, free: 2.605 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.008224, allocations: 11.95 kB / 0.8964 GB, free: 2.594 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.00825, allocations: 12.44 kB / 0.8964 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008252, allocations: 7.938 kB / 0.8964 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.008253, allocations: 0 / 0.8964 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.008257, allocations: 3.938 kB / 0.8965 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.008597, allocations: 381.9 kB / 0.8968 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.008598, allocations: 0 / 0.8968 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001161/0.008714, allocations: 27.97 kB / 0.8968 GB, free: 2.137 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.008718, allocations: 7.938 kB / 0.8969 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.008729, allocations: 4 kB / 0.8969 GB, free: 2.125 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.008731, allocations: 4 kB / 0.8969 GB, free: 2.121 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.008733, allocations: 3.938 kB / 0.8969 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.00901, allocations: 332.4 kB / 0.8972 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.218e-06/0.009019, allocations: 11.95 kB / 0.8972 GB, free: 1.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.009036, allocations: 3.984 kB / 0.8972 GB, free: 1.758 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.009118, allocations: 8 kB / 0.8972 GB, free: 1.75 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/0.009141, allocations: 11.92 kB / 0.8972 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.009153, allocations: 7.984 kB / 0.8972 GB, free: 1.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.00919, allocations: 139.2 kB / 0.8974 GB, free: 1.594 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.00919, allocations: 4.031 kB / 0.8974 GB, free: 1.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000178/0.009368, allocations: 39.94 kB / 0.8974 GB, free: 1.551 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.0001119/0.00948, allocations: 121.8 kB / 0.8975 GB, free: 1.426 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.00982, allocations: 161.3 kB / 0.8977 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009822, allocations: 0 / 0.8977 GB, free: 1.258 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.186e-05/0.009894, allocations: 75.5 kB / 0.8977 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.01008, allocations: 15.98 kB / 0.8978 GB, free: 1.164 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007232/0.0108, allocations: 370.2 kB / 0.8981 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.169e-05/0.01083, allocations: 63.34 kB / 0.8982 GB, free: 0.6875 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.858e-05/0.01091, allocations: 20.73 kB / 0.8982 GB, free: 0.6641 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.01102, allocations: 90.17 kB / 0.8983 GB, free: 0.5742 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.01102, allocations: 4 kB / 0.8983 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of Templates: time 0.003568/0.01459, allocations: 2.541 MB / 0.9008 GB, free: 14.07 MB / 0.8698 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.296204800717533]