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.001466/0.001466, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001429/0.001429, allocations: 169 kB / 24.06 MB, free: 456 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.144/1.144, allocations: 177.1 MB / 204.5 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.317/2.317, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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_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 1.723e-06/1.723e-06, allocations: 1.094 kB / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.469e-05/3.641e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002581/0.002617, allocations: 1.428 MB / 0.8808 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.003698, allocations: 0.9087 MB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.64e-05/0.003744, allocations: 0 / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.003768, allocations: 5 kB / 0.8817 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.039e-05/0.003838, allocations: 11.88 kB / 0.8817 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.004427, allocations: 218.9 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.096e-05/0.004518, allocations: 55.77 kB / 0.882 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.368e-05/0.004562, allocations: 7.938 kB / 0.882 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.661e-05/0.004619, allocations: 31.91 kB / 0.882 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.57e-05/0.004684, allocations: 24.62 kB / 0.882 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.0047, allocations: 4 kB / 0.882 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004437/0.005144, allocations: 372.1 kB / 0.8824 GB, free: 2.945 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.005166, allocations: 17.02 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.005191, allocations: 15.98 kB / 0.8824 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003467/0.005537, allocations: 311.4 kB / 0.8827 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.00554, allocations: 4.438 kB / 0.8827 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/0.005542, allocations: 0 / 0.8827 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.005547, allocations: 1.219 kB / 0.8827 GB, free: 2.605 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.0003919/0.005939, allocations: 451.3 kB / 0.8832 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.005978, allocations: 8.031 kB / 0.8832 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.006162, allocations: 36.23 kB / 0.8832 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.006249, allocations: 112.6 kB / 0.8833 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.006265, allocations: 4.375 kB / 0.8833 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.006286, allocations: 4.375 kB / 0.8833 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.00642, allocations: 118.3 kB / 0.8834 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.00643, allocations: 4.188 kB / 0.8834 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.874e-06/0.006438, allocations: 384 / 0.8834 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.006442, allocations: 384 / 0.8834 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.006477, allocations: 24.8 kB / 0.8835 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.006601, allocations: 117.3 kB / 0.8836 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.006703, allocations: 63.62 kB / 0.8836 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.006735, allocations: 24.98 kB / 0.8837 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.006749, allocations: 0 / 0.8837 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.006773, allocations: 45.39 kB / 0.8837 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.006773, allocations: 4 kB / 0.8837 GB, free: 1.477 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: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.002211/0.008984, allocations: 0.7695 MB / 0.8845 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.009017, allocations: 55.34 kB / 0.8845 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.009105, allocations: 189.8 kB / 0.8847 GB, free: 384 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.009125, allocations: 25.7 kB / 0.8847 GB, free: 352 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.009176, allocations: 143.1 kB / 0.8849 GB, free: 200 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.009215, allocations: 43.61 kB / 0.8849 GB, free: 156 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.00928, allocations: 47.33 kB / 0.8849 GB, free: 100 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.009426, allocations: 0.4923 MB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.009505, allocations: 63.97 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.009571, allocations: 63.97 kB / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.009726, allocations: 141.7 kB / 0.8857 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.009728, allocations: 3.938 kB / 0.8857 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002365/0.009964, allocations: 207.4 kB / 0.8859 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.009981, allocations: 4 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.009997, allocations: 3.984 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.01001, allocations: 4 kB / 0.8859 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.01016, allocations: 35.91 kB / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01016, allocations: 4.953 kB / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.01023, allocations: 4 kB / 0.8859 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01024, allocations: 7.984 kB / 0.8859 GB, free: 15.05 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 9.356e-05/0.01034, allocations: 156.6 kB / 0.8861 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.01037, allocations: 19.95 kB / 0.8861 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.339e-05/0.0104, allocations: 8.438 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.01041, allocations: 3.984 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01041, allocations: 0 / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01041, allocations: 7.938 kB / 0.8861 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004392/0.01085, allocations: 385.9 kB / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01086, allocations: 0 / 0.8865 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.011, allocations: 35.91 kB / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.011, allocations: 0 / 0.8865 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.01102, allocations: 7.984 kB / 0.8865 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01102, allocations: 4 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.01102, allocations: 3.938 kB / 0.8865 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.01135, allocations: 328.4 kB / 0.8869 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.038e-05/0.01136, allocations: 7.953 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01138, allocations: 0 / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.335e-05/0.01148, allocations: 8 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.01151, allocations: 15.91 kB / 0.8869 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.01152, allocations: 4 kB / 0.8869 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.913e-05/0.01157, allocations: 139.1 kB / 0.887 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01157, allocations: 4.031 kB / 0.887 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002172/0.01178, allocations: 43.94 kB / 0.8871 GB, free: 13.83 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.0001749/0.01196, allocations: 119.2 kB / 0.8872 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.01219, allocations: 180.5 kB / 0.8874 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.0122, allocations: 0 / 0.8874 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-05/0.01227, allocations: 63.59 kB / 0.8874 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.01248, allocations: 19.98 kB / 0.8874 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.0136, allocations: 346.3 kB / 0.8878 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.01364, allocations: 67.34 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.479e-05/0.01373, allocations: 16.73 kB / 0.8879 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.01385, allocations: 90.17 kB / 0.8879 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.01385, allocations: 0 / 0.8879 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of Templates: time 0.004332/0.01819, allocations: 2.592 MB / 0.8905 GB, free: 10.3 MB / 0.8542 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: 6.233445948921144]